commit de26da351d859b64a35b81eb2d07dbf325a86960 Author: Philipp Winter phw@nymity.ch Date: Fri May 15 10:43:25 2020 -0700
Add install_requires to setup.py.
To make this work, we also had to replace distutils with setuptools because distutils does not understand the install_requires keyword.
Co-authored-by: Ana Custura ana@netstat.org.uk --- setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/setup.py b/setup.py index 41bba2f..694ab62 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,9 @@ #!/usr/bin/env python3
-from distutils.core import setup +from setuptools import setup + +with open('requirements.txt') as f: + install_requires = f.readlines()
setup(name='OnionPerf', version='0.2.pre', @@ -9,4 +12,5 @@ setup(name='OnionPerf', url='https://github.com/robgjansen/onionperf/', packages=['onionperf'], scripts=['onionperf/onionperf'], + install_requires=install_requires )