Skip to content

Commit

Permalink
setup.py should look at requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Jul 15, 2019
1 parent f232b55 commit abf4fe7
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions setup.py
Expand Up @@ -8,6 +8,10 @@ def filepath(fname):
return os.path.join(os.path.dirname(__file__), fname)


with open("reqs/base-requirements.txt") as f:
requirements = f.read().splitlines()


exec(compile(open("lifelines/version.py").read(), "lifelines/version.py", "exec"))

with open("README.md") as f:
Expand Down Expand Up @@ -35,14 +39,6 @@ def filepath(fname):
"Programming Language :: Python :: 3.7",
"Topic :: Scientific/Engineering",
],
install_requires=[
"numpy>=1.6.0",
"scipy>=1.0,<=1.2.1",
"pandas>=0.23.0",
"matplotlib>=3.0",
"bottleneck>=1.0",
"autograd>=1.2",
"autograd-gamma>=0.3",
],
install_requires=requirements,
package_data={"lifelines": ["../README.md", "../README.txt", "../LICENSE", "../MANIFEST.in", "datasets/*"]},
)

0 comments on commit abf4fe7

Please sign in to comment.