From 7212042841c0ae569c286c667df5d6b85e51bfcf Mon Sep 17 00:00:00 2001 From: cmo Date: Tue, 10 Nov 2020 14:30:59 +0000 Subject: [PATCH] Numba caching seems to fail when installed through an egg (as this is 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` --- setup.py | 6 +++--- weno4.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index 9704fab..d62940b 100644 --- a/setup.py +++ b/setup.py @@ -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', @@ -25,5 +25,5 @@ def readme(): 'Intended Audience :: Science/Research', 'License :: OSI Approved :: MIT License' ], - zip_safe=True -) \ No newline at end of file + zip_safe=False +) diff --git a/weno4.py b/weno4.py index bc86762..43ab44b 100644 --- a/weno4.py +++ b/weno4.py @@ -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): ''' @@ -297,4 +297,4 @@ def discontinuous_sine(x): ax[0, 0].legend() if __name__ == '__main__': - test_weno4() \ No newline at end of file + test_weno4()