Skip to content

Commit

Permalink
disable zip_safe
Browse files Browse the repository at this point in the history
  • Loading branch information
Technologicat committed Apr 11, 2017
1 parent af00a35 commit 9e21b97
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Changelog

- 0.1.2: set zip_safe to False to better work with Cython (important for libs that depend on this one)
- 0.1.1: change distribution system from distutils to setuptools
- 0.1.0: initial version

6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,6 @@ WLSQM itself does not link against LAPACK or BLAS; it utilizes the `cython_lapac
[BSD](LICENSE.md). Copyright 2016-2017 Juha Jeronen and University of Jyväskylä.


## History

- 0.1.1: change distribution system from distutils to setuptools
- 0.1.0: initial version


#### Acknowledgement

This work was financially supported by the Jenny and Antti Wihuri Foundation.
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,11 @@ def ext_math(extName):
package_data={'wlsqm.utils': ['*.pxd', '*.pyx'], # note: paths relative to each package
'wlsqm.fitter': ['*.pxd', '*.pyx']},

# Disable zip_safe, because:
# - Cython won't find .pxd files inside installed .egg, hard to compile libs depending on this one
# - dynamic loader may need to have the library unzipped to a temporary folder anyway (at import time)
zip_safe = False,

# Usage examples; not in a package
data_files = datafiles
)
2 changes: 1 addition & 1 deletion wlsqm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

from __future__ import absolute_import # https://www.python.org/dev/peps/pep-0328/

__version__ = '0.1.1'
__version__ = '0.1.2'

from .fitter.defs import * # definitions (constants) (common)
from .fitter.simple import * # simple API
Expand Down

0 comments on commit 9e21b97

Please sign in to comment.