Skip to content

Commit 83b4b48

Browse files
committed
Use an absolute path for requirements list in setup file
- Replace the ead_requirements() function with one that reads from an absolute path in the root folder. - Fixes #19. (Or will it?)
1 parent f76bff5 commit 83b4b48

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
import os
55

66
def read_requirements():
7-
with open('requirements.txt') as f:
7+
req_path = os.path.join(os.path.dirname(__file__), "requirements.txt")
8+
with open(req_path) as f:
89
return f.read().splitlines()
910

1011
# Load environment variables

0 commit comments

Comments
 (0)