diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2019-12-24 17:45:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-24 17:45:13 +0100 |
| commit | ecb054a7a058a1f62a536e5cac88eed8926b107d (patch) | |
| tree | 925594876f18580732d2c8a438ff8f3bea8d9092 /setup.py | |
| parent | cc8d4b958e274eb9e154db5c319d2e50da561d61 (diff) | |
| parent | 5a0a66e9bc34af2b6404231efc7cf02f389bdfcb (diff) | |
Merge branch 'master' into patch-1
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', |