Skip to content

Commit

Permalink
Numba caching seems to fail when installed through an egg (as this is…
Browse files Browse the repository at this point in the history
… a zip in a trenchcoat and moustache), so we set zip_safe=False and hope people install it with `pip install .` rather than `python setup.py install`
  • Loading branch information
Goobley committed Nov 10, 2020
1 parent bfbd69d commit 7212042
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def readme():

setup(
name='weno4',
version='1.1.0',
version='1.1.1',
description='WENO-4 Interpolation implemented from Janett et al (2019)',
long_description=readme(),
long_description_content_type='text/markdown',
Expand All @@ -25,5 +25,5 @@ def readme():
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License'
],
zip_safe=True
)
zip_safe=False
)
4 changes: 2 additions & 2 deletions weno4.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from numba import njit

__all__ = ['weno4']
__version__='1.1.0'
__version__='1.1.1'

def weno4(xs, xp, fp, left=None, right=None, extrapolate=False, assumeSorted=False, forceQuadratic=False):
'''
Expand Down Expand Up @@ -297,4 +297,4 @@ def discontinuous_sine(x):
ax[0, 0].legend()

if __name__ == '__main__':
test_weno4()
test_weno4()

0 comments on commit 7212042

Please sign in to comment.