Skip to content

Commit

Permalink
Get INSTALL_REQUIRES from requirements.txt (#312)
Browse files Browse the repository at this point in the history
On setup.py, build the INSTALL_REQUIRES variable by reading the requirements.txt file.
  • Loading branch information
santisoler authored Mar 12, 2021
1 parent 0a98d6d commit fe3b3a9
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,8 @@
"verde.datasets": ["registry.txt"],
"verde.tests": ["data/*", "baseline/*"],
}
INSTALL_REQUIRES = [
"numpy",
"scipy",
"pandas",
"xarray",
"scikit-learn",
"pooch>=0.7.0",
"dask",
]
with open("requirements.txt") as f:
INSTALL_REQUIRES = f.readlines()
PYTHON_REQUIRES = ">=3.6"

if __name__ == "__main__":
Expand Down

0 comments on commit fe3b3a9

Please sign in to comment.