on master help sign in
[enh] setup.py requirements ++ new folders
commit5c073fdd8329fc3094f78d1730586e3e7ac16c81 authorAdam Tauber <asciimoo@gmail.com> dateSat 2 Jan 2016, 12:36 (11 years ago) parent52323a4
1 file changed+7−28
setup.py+7−28
setup.py+7−28
@@ -17,6 +17,8 @@ def read(*rnames):
1717
1818
1919long_description = read('README.rst')
20+requirements = map(str.strip, open('requirements.txt').readlines())
21+dev_requirements = map(str.strip, open('requirements-dev.txt').readlines())
2022
2123setup(
2224 name='searx',
@@ -38,35 +40,9 @@ setup(
3840 license='GNU Affero General Public License',
3941 packages=find_packages('.'),
4042 zip_safe=False,
41− install_requires=[
42− 'flask',
43− 'flask-babel',
44− 'requests',
45− 'lxml',
46− 'pyyaml',
47− 'pygments',
48− 'setuptools',
49− 'python-dateutil',
50− 'pyopenssl',
51− 'ndg-httpsclient',
52− 'pyasn1',
53− 'pyasn1-modules',
54− 'certifi'
55− ],
43+ install_requires=requirements,
5644 extras_require={
57− 'test': [
58− 'coverage',
59− 'flake8',
60− 'mock',
61− 'plone.testing',
62− 'robotframework',
63− 'robotframework-debuglibrary',
64− 'robotframework-httplibrary',
65− 'robotframework-selenium2library',
66− 'robotsuite',
67− 'unittest2',
68− 'zope.testrunner',
69− ]
45+ 'test': dev_requirements
7046 },
7147 entry_points={
7248 'console_scripts': [
@@ -86,6 +62,9 @@ setup(
8662 'static/*/*/*/*/*.*',
8763 'templates/*/*.*',
8864 'templates/*/*/*.*',
65+ 'tests/*',
66+ 'tests/*/*',
67+ 'tests/*/*/*',
8968 'translations/*/*/*'
9069 ],
9170 },