diff --git a/setup.py b/setup.py index 72ef651..d81a3df 100644 --- a/setup.py +++ b/setup.py @@ -2,15 +2,13 @@ from setuptools.command.install import install from codecs import open from os import path -from pip.req import parse_requirements here = path.abspath(path.dirname(__file__)) def load_requirements(): - requirements = [str(r.req) for r in - parse_requirements('requirements.txt', session=False)] + requirements = list(line.split()[0] for line in open("requirements.txt")) return requirements