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 1fb4c7b commit 8c621daCopy full SHA for 8c621da
setup.py
@@ -1,11 +1,13 @@
1
#!/usr/bin/python3
2
3
+import os
4
5
from setuptools import setup, find_packages
6
7
8
def get_requirements():
- path = 'requirements.txt'
9
+ this_dir = os.path.abspath(os.path.dirname(__file__))
10
+ path = os.path.join(this_dir, 'requirements.txt')
11
try:
12
with open(path) as f:
13
packages = f.read().splitlines()
0 commit comments