diff --git a/setup.py b/setup.py index 7aa5c5054..9e135c661 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,4 @@ import os - - from setuptools import setup, find_packages setup( @@ -11,9 +9,10 @@ author="OpenAI", packages=find_packages(exclude=["tests*"]), install_requires=[ - line.strip() + stripped for line in open(os.path.join(os.path.dirname(__file__), "requirements.txt")) - if line.strip() and not line.startswith("#") + for stripped in [line.strip()] + if stripped and not stripped.startswith("#") ], include_package_data=True, extras_require={'dev': ['pytest']},