Skip to content

Commit

Permalink
make requirements path explicit in setup
Browse files Browse the repository at this point in the history
  • Loading branch information
DarnellGranberry committed Dec 11, 2024
1 parent b463645 commit b33a7d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
version = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", f.read(), re.M).group(1)

# Read requirements from requirements.txt
with open('requirements.txt') as f:
requirements_file = os.path.join(os.path.dirname(__file__), 'requirements.txt')
with open(requirements_file) as f:
requirements = [line.strip() for line in f if line.strip()]


Expand Down

0 comments on commit b33a7d4

Please sign in to comment.