From 9f5ab03eb47de02a0587a566f7dcf6340fec02f9 Mon Sep 17 00:00:00 2001 From: Melanie Simet Date: Wed, 14 Nov 2018 17:05:04 -0800 Subject: [PATCH 1/2] Change astropy version requirements to be different for python2 and python3 (#120) --- setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 8f48618..8ee01f3 100755 --- a/setup.py +++ b/setup.py @@ -6,11 +6,15 @@ with open('README.md', encoding="utf-8") as f: long_description = f.read() + + setup(name='Stile', version='0.1', description='Stile: Systematics Tests in Lensing pipeline', author='The Stile team', - install_requires=['numpy', 'treecorr', 'matplotlib', 'astropy<3'], + install_requires=['numpy', 'treecorr', 'matplotlib', + 'astropy<3;python_version<"3.0"', + 'astropy;python_version>="3.0"'], author_email='melanie.simet@gmail.com', url='https://github.com/msimet/Stile', packages=['stile', 'stile.hsc'], From f2e914b80c7a80f6bbd71c473937f70c19344b9f Mon Sep 17 00:00:00 2001 From: Melanie Simet Date: Wed, 14 Nov 2018 17:06:27 -0800 Subject: [PATCH 2/2] Whitespace fix (#120) --- setup.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/setup.py b/setup.py index 8ee01f3..24ce620 100755 --- a/setup.py +++ b/setup.py @@ -6,8 +6,6 @@ with open('README.md', encoding="utf-8") as f: long_description = f.read() - - setup(name='Stile', version='0.1', description='Stile: Systematics Tests in Lensing pipeline',