--- setup.py.orig 2018-12-02 22:48:29.000000000 -0500 +++ setup.py 2018-12-02 22:49:56.000000000 -0500 @@ -3,10 +3,14 @@ import kerfi +from setuptools import find_packages, setup -from pip.req import parse_requirements +with open('requirements.txt', 'r') as f: + install_reqs = f.read().splitlines() + +with open('test-requirements.txt', 'r') as f: + test_reqs = f.read().splitlines() -from setuptools import find_packages, setup setup(name='kerfi-vangasvipur', version=kerfi.version(), @@ -17,7 +21,7 @@ maintainer_email='steenzout@ymail.com', url='https://github.com/steenzout/python-kerfi-vangasvipur', packages=find_packages(exclude=('*.tests', '*.tests.*', 'tests.*', 'tests')), - install_requires=[str(pkg.req) for pkg in parse_requirements('requirements.txt')], - tests_requires=[str(pkg.req) for pkg in parse_requirements('test-requirements.txt')], + install_requires=install_reqs, + tests_requires=test_reqs, scripts=( 'scripts/kv-print',),)