Commit 279a0637 authored by Pablo Panero's avatar Pablo Panero
Browse files

global: remove dependencies from setup.py, dep-management is done with pipenv

parent d5525b6d
......@@ -15,64 +15,6 @@ from setuptools import find_packages, setup
readme = open('README.md').read()
history = open('CHANGES.md').read()
tests_require = []
invenio_db_version = '>=1.0.2,<1.2.0'
extras_require = {
'postgresql': [
'invenio-db[postgresql]' + invenio_db_version,
],
'elasticsearch6': [
'elasticsearch>=6.0.0,<6.1.0',
'elasticsearch-dsl>=6.0.0,<6.1.0',
],
'docs': [
'Sphinx>=1.5.1',
],
'tests': [
'pytest>=4.1.1,<4.2.0'
],
}
extras_require['all'] = []
for name, reqs in extras_require.items():
if name in ('mysql', 'elasticsearch6'):
continue
extras_require['all'].extend(reqs)
setup_requires = []
install_requires = [
'flask',
'invenio-access>=1.0.0,<1.1.0',
'invenio-admin>=1.0.0,<1.1.0',
'invenio-accounts>=1.0.0,<1.1.0',
'invenio-app>=1.1.0,<1.2.0',
'invenio-base>=1.0.0,<1.1.0',
'invenio-config>=1.0.0,<1.1.0',
'invenio-db[postgresql,versioning]>=1.0.2,<1.1.0',
'invenio-indexer[elasticsearch6]>=1.0.0,<1.1.0',
'invenio-jsonschemas>=1.0.0,<1.1.0',
'invenio-logging>=1.0.0,<1.1.0',
'invenio-records-rest[elasticsearch6]>=1.3.0,<1.4.0',
'invenio-records[postgresql]>=1.0.0,<1.1.0',
'invenio-rest[cors]>=1.0.0,<1.1.0',
'invenio-oauthclient>=1.0.0,<1.1.0',
'invenio_oauth2server>=1.0.0,<1.1.0',
'invenio-search[elasticsearch6]>=1.0.0,<1.1.0',
'invenio-theme>=1.1.0,<1.2.0',
'python-ldap>=3.1.0,<3.2.0',
'raven>=6.9.0,<6.10.0',
'redis>=2.10.0,<3.0.0',
'npm>=0.1.1',
'uWSGI>=2.0.16',
'uwsgi-tools>=1.1.1,<1.2.0',
'idna>=2.5,<2.7',
'urllib3<1.23', # Needed until invenio-search[elasticsearch] is updated to 6 (depends on central service version)
]
packages = find_packages()
# Get the version string. Cannot be done with import!
g = {}
......@@ -89,7 +31,6 @@ setup(
author='CERN',
author_email='cernsearch.support@cern.ch',
url='http://search.cern.ch/',
packages=packages,
zip_safe=False,
include_package_data=True,
platforms='any',
......@@ -119,11 +60,6 @@ setup(
'health_check = cern_search_rest_api.modules.cernsearch.views:build_health_blueprint'
]
},
extras_require=extras_require,
install_requires=install_requires,
setup_requires=setup_requires,
tests_require=tests_require,
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment