@@ -11,14 +11,14 @@ import sys
1111sys.path.insert(0, './searx')
1212from version import VERSION_STRING
1313
14+with open('README.rst') as f:
15+ long_description = f.read()
1416
15−def read(*rnames):
16− return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
17+with open('requirements.txt') as f:
18+ requirements = [ l.strip() for l in f.readlines()]
1719
18−
19−long_description = read('README.rst')
20−requirements = map(str.strip, open('requirements.txt').readlines())
21−dev_requirements = map(str.strip, open('requirements-dev.txt').readlines())
20+with open('requirements-dev.txt') as f:
21+ dev_requirements = [ l.strip() for l in f.readlines()]
2222
2323setup(
2424 name='searx',