diff --git a/setup.py b/setup.py index aa80078..67135a1 100644 --- a/setup.py +++ b/setup.py @@ -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()]