diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2019-12-10 15:41:06 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-10 15:41:06 +0000 |
| commit | 7fbb15e05070de26c3b5b1958a2c2a42208bbe8b (patch) | |
| tree | f1350147393a2153246e76f5438613c2f3725c53 /setup.py | |
| parent | f34ac58752b3857468d01c79d7bc3409e8b03fe3 (diff) | |
| parent | f7a0510ac0e1853e3662b39254f3eb9be0efa2b0 (diff) | |
Merge branch 'master' into tidy-oscar
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -11,14 +11,14 @@ import sys sys.path.insert(0, './searx') from version import VERSION_STRING +with open('README.rst') as f: + long_description = f.read() -def read(*rnames): - return open(os.path.join(os.path.dirname(__file__), *rnames)).read() +with open('requirements.txt') as f: + requirements = [ l.strip() for l in f.readlines()] - -long_description = read('README.rst') -requirements = map(str.strip, open('requirements.txt').readlines()) -dev_requirements = map(str.strip, open('requirements-dev.txt').readlines()) +with open('requirements-dev.txt') as f: + dev_requirements = [ l.strip() for l in f.readlines()] setup( name='searx', |