We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcba3cb commit bb9d976Copy full SHA for bb9d976
setup.py
@@ -1,6 +1,6 @@
1
import os
2
3
-import pkg_resources
+
4
from setuptools import setup, find_packages
5
6
setup(
@@ -11,10 +11,9 @@
11
author="OpenAI",
12
packages=find_packages(exclude=["tests*"]),
13
install_requires=[
14
- str(r)
15
- for r in pkg_resources.parse_requirements(
16
- open(os.path.join(os.path.dirname(__file__), "requirements.txt"))
17
- )
+ line.strip()
+ for line in open(os.path.join(os.path.dirname(__file__), "requirements.txt"))
+ if line.strip() and not line.startswith("#")
18
],
19
include_package_data=True,
20
extras_require={'dev': ['pytest']},
0 commit comments