Skip to content

Commit

Permalink
Merge pull request #125 from herophilus/setup
Browse files Browse the repository at this point in the history
setup.py now uses requirements.txt instead of hard coding
  • Loading branch information
henrypinkard committed Jul 29, 2023
2 parents 2f6ddb2 + 178f048 commit 11151f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
exec(f.read(), {}, version_ns)
version = version_ns["__version__"]

with open("requirements.txt") as f:
requirements = f.read().splitlines()

setuptools.setup(
name="ndtiff",
version=version,
Expand All @@ -21,10 +24,7 @@
long_description_content_type="text/markdown",
url="https://github.com/micro-manager/NDTiffStorage",
packages=setuptools.find_packages(),
install_requires=[
"numpy",
"dask[array]>=2022.2.0",
],
install_requires=requirements,
python_requires=">=3.6",
extras_require={
"test": [
Expand Down

0 comments on commit 11151f4

Please sign in to comment.