-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (38 loc) · 1.45 KB
/
setup.py
File metadata and controls
42 lines (38 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import sys
from setuptools import setup, find_packages
install_requires = ["isodate>=0.6.0","urllib3","joblib"]
if sys.version_info >= (3, 6):
install_requires.append('pandas>=0.23')
install_requires.append('numpy>=1.14.3')
elif sys.version_info < (3, 6) and sys.version_info > (3, ):
install_requires.append("pandas<1.0")
install_requires.append("numpy<1.17")
install_requires.append("kiwisolver<=1.2")
else:
install_requires.append("pandas>=0.23,<0.25")
install_requires.append("numpy<1.17")
install_requires.append("pyparsing<3")
install_requires.append("kiwisolver<=1.1")
if sys.argv[1] == 'develop':
install_requires.append("deepdiff")
if sys.version_info < (3, 6):
install_requires.append("pytest<5.0.0")
else:
# Should not be needed, as per
# https://docs.pytest.org/en/stable/py27-py34-deprecation.html
# Perhaps old version of pip causes this?
install_requires.append("pytest")
# version is modified by misc/version.py (executed from Makefile). Do not edit.
setup(
name='hapiclient',
version='0.2.7b1',
author='Bob Weigel',
author_email='rweigel@gmu.edu',
packages=find_packages(),
url='http://pypi.python.org/pypi/hapiclient/',
license='LICENSE.txt',
description='Interface to Heliophysics data server API',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
install_requires=install_requires
)