Skip to content

Commit 4347a28

Browse files
author
Charlotte Godley
committed
NFC: switch setup.py to use requirements txt
1 parent d9efdde commit 4347a28

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
with open("README.md", "r") as fh:
55
long_description = fh.read()
66

7+
with open('requirements.txt') as f:
8+
required = f.read().splitlines()
9+
710
setuptools.setup(
811
name="dotscience",
912
version=__version__,
@@ -14,7 +17,7 @@
1417
long_description_content_type="text/markdown",
1518
url="https://github.com/dotmesh-io/dotscience-python",
1619
packages=setuptools.find_packages(),
17-
install_requires=['datadots-api>=0.2.1', 'requests'],
20+
install_requires=required,
1821
tests_require=['pytest', 'hypothesis', 'datadots-api>=0.2.1'],
1922
zip_safe=True,
2023
classifiers=[

0 commit comments

Comments
 (0)