File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed
Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change 55"""
66
77from distutils .core import setup
8- try : # for pip >= 10
9- from pip ._internal .req import parse_requirements
10- except ImportError : # for pip <= 9.0.3
11- from pip .req import parse_requirements
128from runpy import run_path
139
14- install_reqs = parse_requirements ('requirements.txt' , session = False )
15- try : # for pip < 20.1
16- install_requires = [str (ir .req ) for ir in install_reqs ]
17- except AttributeError : # for pip >= 20.1
18- install_requires = [str (ir .requirement ) for ir in install_reqs ]
19-
2010def get_version ():
2111 namespace = run_path ('chumpy/version.py' )
2212 return namespace ['version' ]
@@ -29,8 +19,11 @@ def get_version():
2919 url = 'https://github.com/mattloper/chumpy' ,
3020 description = 'chumpy' ,
3121 license = 'MIT' ,
32- install_requires = install_requires ,
33-
22+ install_requires = [
23+ 'numpy>=1.8.1' ,
24+ 'scipy>=0.13.0' ,
25+ 'six>=1.11.0' ,
26+ ],
3427 # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
3528 classifiers = [
3629 # How mature is this project? Common values are
You can’t perform that action at this time.
0 commit comments