Skip to content

Commit

Permalink
Merge pull request #42 from djgagne/djgagne
Browse files Browse the repository at this point in the history
Updated setup.py to not depend on external files
  • Loading branch information
djgagne authored Jul 19, 2022
2 parents fd2dbe0 + 75bf90d commit 5c07051
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@
]

on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if on_rtd:
requires = []
else:
with open("requirements.txt") as require_file:
requires = [r.strip() for r in require_file.readlines()]

requires = ["numpy", "matplotlib", "scipy", "xarray", "pandas", "scikit-image", "scikit-learn"]

if __name__ == "__main__":
pkg_description = "Hagelslag is a Python package for storm-based analysis, forecasting, and evaluation."
Expand Down

0 comments on commit 5c07051

Please sign in to comment.