[hdf-compass] 276/295: added hidden imports to spec files for pyinstaller

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun May 8 10:35:54 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 96663bebc32f38d0949b6c5d2e3d8fe45bbaac9f
Author: giumas <giumas at yahoo.it>
Date:   Sat Apr 23 20:32:33 2016 -0400

    added hidden imports to spec files for pyinstaller
---
 HDFCompass.1file.spec         |  7 ++++---
 HDFCompass.1folder.spec       | 10 +++++++---
 docs/conf.py                  |  4 ++--
 hdf_compass/utils/__init__.py |  2 +-
 setup.cfg                     |  4 ++--
 setup.py                      |  2 +-
 spec.json                     | 11 ++++++-----
 7 files changed, 23 insertions(+), 17 deletions(-)

diff --git a/HDFCompass.1file.spec b/HDFCompass.1file.spec
index d5bf262..1bd69a5 100644
--- a/HDFCompass.1file.spec
+++ b/HDFCompass.1file.spec
@@ -64,12 +64,13 @@ else:
 if not os.path.exists(icon_file):
     raise RuntimeError("invalid path to icon: %s" % icon_file)
 
-version = '0.6.0b2'
+version = '0.6.0b3'
 app_name = 'HDFCompass_' + version
 
 a = Analysis(['HDFCompass.py'],
              pathex=[],
-             hiddenimports=['scipy.linalg.cython_blas', 'scipy.linalg.cython_lapack'],  # for cartopy
+             hiddenimports=['scipy.linalg.cython_blas', 'scipy.linalg.cython_lapack',
+             	'scipy.linalg', 'scipy.integrate'],  # for cartopy
              excludes=["PySide"],  # exclude libraries from being bundled (in case that are installed)
              hookspath=None,
              runtime_hooks=None)
@@ -83,7 +84,7 @@ exe = EXE(pyz,
           pkg_data_hdf_compass,
           cartopy_aux,
           name=app_name,
-          debug=False,
+          debug=True,
           strip=None,
           upx=False,
           console=True,
diff --git a/HDFCompass.1folder.spec b/HDFCompass.1folder.spec
index 0381dd0..f889465 100644
--- a/HDFCompass.1folder.spec
+++ b/HDFCompass.1folder.spec
@@ -64,9 +64,13 @@ else:
 if not os.path.exists(icon_file):
     raise RuntimeError("invalid path to icon: %s" % icon_file)
 
+version = '0.6.0b3'
+app_name = 'HDFCompass_' + version
+
 a = Analysis(['HDFCompass.py'],
              pathex=[],
-             hiddenimports=['scipy.linalg.cython_blas', 'scipy.linalg.cython_lapack'],  # for cartopy
+             hiddenimports=['scipy.linalg.cython_blas', 'scipy.linalg.cython_lapack',
+             	'scipy.linalg', 'scipy.integrate'],  # for cartopy
              excludes=["PySide"],  # exclude libraries from being bundled (in case that are installed)
              hookspath=None,
              runtime_hooks=None)
@@ -75,8 +79,8 @@ pyz = PYZ(a.pure)
 exe = EXE(pyz,
           a.scripts,
           exclude_binaries=True,
-          name='HDFCompass',
-          debug=False,
+          name=app_name,
+          debug=True,
           strip=None,
           upx=True,
           console=True,
diff --git a/docs/conf.py b/docs/conf.py
index a9378fa..77751fc 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -47,7 +47,7 @@ master_doc = 'index'
 
 # General information about the project.
 project = u'HDF Compass'
-copyright = u'2015, The HDF Group'
+copyright = u'2016, The HDF Group'
 author = u'The HDF Group'
 
 # The version info for the project you're documenting, acts as replacement for
@@ -57,7 +57,7 @@ author = u'The HDF Group'
 # The short X.Y version.
 version = '0.6'
 # The full version, including alpha/beta/rc tags.
-release = '0.6.0b2'
+release = '0.6.0b3'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
diff --git a/hdf_compass/utils/__init__.py b/hdf_compass/utils/__init__.py
index 2a2f7a3..fc9cb58 100644
--- a/hdf_compass/utils/__init__.py
+++ b/hdf_compass/utils/__init__.py
@@ -19,4 +19,4 @@ log.addHandler(logging.NullHandler())
 from .utils import is_darwin, is_win, is_linux, url2path, path2url, data_url
 
 
-__version__ = "0.6.0b2"
+__version__ = "0.6.0b3"
diff --git a/setup.cfg b/setup.cfg
index 1a58bba..19cadfb 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,7 +1,7 @@
 [bumpversion]
-current_version = 0.6.0b2
+current_version = 0.6.0b3
 files = setup.py hdf_compass/utils/__init__.py docs/conf.py HDFCompass.1file.spec
 
 [bdist_wheel]
-universal = 0
+universal = 1
 
diff --git a/setup.py b/setup.py
index 2cdeba9..1df0ccb 100644
--- a/setup.py
+++ b/setup.py
@@ -55,7 +55,7 @@ setup_args = dict()
 
 setup_args['name'] = 'hdf_compass'
 # The adopted versioning scheme follow PEP40
-setup_args['version'] = '0.6.0b2'
+setup_args['version'] = '0.6.0b3'
 setup_args['url'] = 'https://github.com/HDFGroup/hdf-compass/'
 setup_args['license'] = 'BSD-like license'
 setup_args['author'] = 'HDFGroup'
diff --git a/spec.json b/spec.json
index a893730..972ffed 100644
--- a/spec.json
+++ b/spec.json
@@ -1,9 +1,10 @@
 {
-  "title": "HDFCompass",
-   "background": "dmg.png",
-   "icon-size": 80,
-   "contents": [
-    { "x": 128, "y": 110, "type": "file", "path": "dist/HDFCompass.app" },
+  "title": "HDFCompass 0.6.0b3",
+  "icon": "HDFCompass.icns",
+  "background": "dmg.png",
+  "icon-size": 80,
+  "contents": [
+  	{ "x": 128, "y": 110, "type": "file", "path": "dist/HDFCompass.app" },
     { "x": 370, "y": 110, "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