diff options
| author | Philipp Winter <phw@nymity.ch> | 2020-05-15 10:43:25 -0700 |
|---|---|---|
| committer | Ana Custura <ana@netstat.org.uk> | 2020-05-29 14:56:02 +0100 |
| commit | de26da351d859b64a35b81eb2d07dbf325a86960 (patch) | |
| tree | ce7100148de0e3ba4ff6cfc3ccb941a33ba72244 | |
| parent | f41774d4bf9a9f2c53eb705591dd5574ca48ee41 (diff) | |
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>
| -rw-r--r-- | setup.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 ) |
