We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 516ac20 commit 1a0c67fCopy full SHA for 1a0c67f
setup.py
@@ -1,10 +1,15 @@
1
import setuptools
2
+import os
3
4
with open("README.md", "r") as fh:
5
long_description = fh.read()
6
7
+# Dynamically read requirements.txt
8
+this_dir = os.path.abspath(os.path.dirname(__file__))
9
+requirements_path = os.path.join(this_dir, "requirements.txt")
10
+
11
# Read the requirements from the requirements.txt file
-with open("requirements.txt", "r") as f:
12
+with open(requirements_path, "r") as f:
13
requirements = f.read().splitlines()
14
15
setuptools.setup(
0 commit comments