From 03336355e17033dfecc0c26973a876103a59d7af Mon Sep 17 00:00:00 2001 From: Caleb Bell Date: Sat, 14 Dec 2019 12:40:42 -0700 Subject: [PATCH] Release 0.1.77 (one bug fix in units, one fewer file on pypi) --- MANIFEST.in | 1 + fluids/__init__.py | 2 +- fluids/units.py | 2 +- setup.py | 4 ++-- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 4d45be77..2357a376 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -5,3 +5,4 @@ global-exclude __pycache__ global-exclude *.py[co] global-exclude *.coverage global-exclude *.so +global-exclude *.ipynb_checkpoints diff --git a/fluids/__init__.py b/fluids/__init__.py index a514b9b6..407c9268 100644 --- a/fluids/__init__.py +++ b/fluids/__init__.py @@ -107,7 +107,7 @@ __all__.extend(jet_pump.__all__) -__version__ = '0.1.76' +__version__ = '0.1.77' fluids_dir = os.path.dirname(__file__) fluids_data_dir = os.path.join(fluids_dir, 'data') diff --git a/fluids/units.py b/fluids/units.py index 3c2cf0dc..1327b33c 100644 --- a/fluids/units.py +++ b/fluids/units.py @@ -53,7 +53,7 @@ def func_args(func): method. ''' try: - return tuple(inspect.signature(func).parameters) + return tuple(inspect.getargspec(func).args) except: return tuple(inspect.getfullargspec(func).args) diff --git a/setup.py b/setup.py index 50a5408c..fef62fef 100644 --- a/setup.py +++ b/setup.py @@ -65,8 +65,8 @@ name='fluids', packages=['fluids'], license='MIT', - version='0.1.76', - download_url='https://github.com/CalebBell/fluids/tarball/0.1.76', + version='0.1.77', + download_url='https://github.com/CalebBell/fluids/tarball/0.1.77', description=description, long_description=open('README.rst').read(), install_requires=["numpy>=1.5.0", "scipy>=0.9.0"],