forked from Ponysearch/Ponysearch
[enh] setup.py requirements ++ new folders
This commit is contained in:
parent
52323a4b4e
commit
5c073fdd83
1 changed files with 7 additions and 28 deletions
35
setup.py
35
setup.py
|
@ -17,6 +17,8 @@ def read(*rnames):
|
||||||
|
|
||||||
|
|
||||||
long_description = read('README.rst')
|
long_description = read('README.rst')
|
||||||
|
requirements = map(str.strip, open('requirements.txt').readlines())
|
||||||
|
dev_requirements = map(str.strip, open('requirements-dev.txt').readlines())
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='searx',
|
name='searx',
|
||||||
|
@ -38,35 +40,9 @@ setup(
|
||||||
license='GNU Affero General Public License',
|
license='GNU Affero General Public License',
|
||||||
packages=find_packages('.'),
|
packages=find_packages('.'),
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
install_requires=[
|
install_requires=requirements,
|
||||||
'flask',
|
|
||||||
'flask-babel',
|
|
||||||
'requests',
|
|
||||||
'lxml',
|
|
||||||
'pyyaml',
|
|
||||||
'pygments',
|
|
||||||
'setuptools',
|
|
||||||
'python-dateutil',
|
|
||||||
'pyopenssl',
|
|
||||||
'ndg-httpsclient',
|
|
||||||
'pyasn1',
|
|
||||||
'pyasn1-modules',
|
|
||||||
'certifi'
|
|
||||||
],
|
|
||||||
extras_require={
|
extras_require={
|
||||||
'test': [
|
'test': dev_requirements
|
||||||
'coverage',
|
|
||||||
'flake8',
|
|
||||||
'mock',
|
|
||||||
'plone.testing',
|
|
||||||
'robotframework',
|
|
||||||
'robotframework-debuglibrary',
|
|
||||||
'robotframework-httplibrary',
|
|
||||||
'robotframework-selenium2library',
|
|
||||||
'robotsuite',
|
|
||||||
'unittest2',
|
|
||||||
'zope.testrunner',
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
entry_points={
|
entry_points={
|
||||||
'console_scripts': [
|
'console_scripts': [
|
||||||
|
@ -86,6 +62,9 @@ setup(
|
||||||
'static/*/*/*/*/*.*',
|
'static/*/*/*/*/*.*',
|
||||||
'templates/*/*.*',
|
'templates/*/*.*',
|
||||||
'templates/*/*/*.*',
|
'templates/*/*/*.*',
|
||||||
|
'tests/*',
|
||||||
|
'tests/*/*',
|
||||||
|
'tests/*/*/*',
|
||||||
'translations/*/*/*'
|
'translations/*/*/*'
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue