[hdf-compass] 62/295: add spec file for dmg creation
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Sun May 8 10:35:26 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/master
in repository hdf-compass.
commit feb021e39b714f0d56e84b652c0c9baf60035276
Author: jreadey <jreadey at hdfgroup.org>
Date: Fri Apr 24 13:41:52 2015 -0700
add spec file for dmg creation
---
compass_viewer/icons/background.png | Bin 0 -> 455125 bytes
setup.py | 4 ++++
spec.json | 10 ++++++++++
3 files changed, 14 insertions(+)
diff --git a/compass_viewer/icons/background.png b/compass_viewer/icons/background.png
new file mode 100644
index 0000000..bc3a772
Binary files /dev/null and b/compass_viewer/icons/background.png differ
diff --git a/setup.py b/setup.py
index ac16d63..003a866 100644
--- a/setup.py
+++ b/setup.py
@@ -18,6 +18,10 @@ Usage:
The output is HDFCompass.app, in the dist/ folder.
+After running setp.py and verifying the install image, run:
+ appdmg spec.json HDFCompass.dmg
+To create dmg install file. The appdmg utility can be installed from npm.
+
PyInstaller, for Windows and Linux distribution, does not use setup.py.
"""
diff --git a/spec.json b/spec.json
new file mode 100644
index 0000000..56f51a4
--- /dev/null
+++ b/spec.json
@@ -0,0 +1,10 @@
+{
+ "title": "HDFCompass",
+ "background": "compass_viewer/icons/background.png",
+ "icon-size": 80,
+ "contents": [
+ { "x": 92, "y": 100, "type": "file", "path": "dist/HDFCompass.app" },
+ { "x": 348, "y": 100, "type": "link", "path": "/Applications" }
+ ]
+
+}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/hdf-compass.git
More information about the debian-science-commits
mailing list