Skip to content

Commit a97d138

Browse files
get setup requirements from file
1 parent 5261fb4 commit a97d138

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# Get the long description from the README file
44
with open("README.md", "r") as f:
55
long_description = f.read()
6+
with open(os.path.join(path, "requirements.txt")) as f:
7+
install_requires = f.readlines()
68
setup(
79
name="nwbinspector",
810
version="0.4.6",
@@ -14,7 +16,7 @@
1416
packages=find_packages(),
1517
include_package_data=True,
1618
url="https://github.com/NeurodataWithoutBorders/nwbinspector",
17-
install_requires=["pynwb", "natsort", "click", "PyYAML", "jsonschema", "tqdm"],
19+
install_requires=install_requires,
1820
extras_require=dict(dandi=["dandi>=0.39.2"]),
1921
entry_points={"console_scripts": ["nwbinspector=nwbinspector.nwbinspector:inspect_all_cli"]},
2022
license="BSD-3-Clause",

0 commit comments

Comments
 (0)