-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
36 lines (33 loc) · 1.27 KB
/
setup.py
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
import sys
from setuptools import setup, find_packages
#install_requires = ["matplotlib", "hapiclient @ git+https://github.com/hapi-server/client-python#egg=hapiclient"]
install_requires = ["matplotlib", "hapiclient>0.1.7"]
# python setup.py develop will install these deps
if len(sys.argv) > 1 and sys.argv[1] == 'develop':
print(sys.version_info)
if sys.version_info < (3, 6):
install_requires.append("pytest<5.0.0")
elif sys.version_info < (3, 7):
install_requires.append("pytest<7.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")
#install_requires.append("pytest")
print(install_requires)
# version is modified by misc/version.py (executed from Makefile). Do not edit.
setup(
name='hapiplot',
version='0.2.3b0',
author='Bob Weigel',
author_email='rweigel@gmu.edu',
packages=find_packages(),
url='http://pypi.python.org/pypi/hapiplot/',
license='LICENSE.txt',
description='Plot data from HAPI server',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
include_package_data=True,
install_requires=install_requires
)