XThomasBU
commited on
Commit
·
7712b52
1
Parent(s):
ae33464
to add requirements.txt to pip install
Browse files
setup.py
CHANGED
@@ -1,9 +1,14 @@
|
|
1 |
from setuptools import setup, find_packages
|
2 |
|
|
|
|
|
|
|
|
|
3 |
setup(
|
4 |
name="modules",
|
5 |
version="0.1.0",
|
6 |
packages=find_packages(),
|
7 |
python_requires=">=3.7",
|
|
|
8 |
description="A Deep Learning for Data Science Tutor application",
|
9 |
-
)
|
|
|
1 |
from setuptools import setup, find_packages
|
2 |
|
3 |
+
# Read the contents of requirements.txt
|
4 |
+
with open('requirements.txt') as f:
|
5 |
+
requirements = f.read().splitlines()
|
6 |
+
|
7 |
setup(
|
8 |
name="modules",
|
9 |
version="0.1.0",
|
10 |
packages=find_packages(),
|
11 |
python_requires=">=3.7",
|
12 |
+
install_requires=requirements,
|
13 |
description="A Deep Learning for Data Science Tutor application",
|
14 |
+
)
|