-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
83 lines (75 loc) · 2.33 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# -*- coding: utf-8 -*-
"""Setup module for flask multilingual."""
import os
from setuptools import find_packages, setup
readme = open('README.md').read()
history = open('CHANGES.md').read()
install_requires = [
'marshmallow',
'flask',
'pycountry'
]
tests_require = [
'pytest-invenio[docs]==1.3.4',
'oarepo-mapping-includes'
]
extras_require = {
'tests': [
*tests_require,
'oarepo[tests]'
],
}
setup_requires = [
'pytest-runner>=2.7',
]
g = {}
with open(os.path.join('oarepo_multilingual', 'version.py'), 'rt') as fp:
exec(fp.read(), g)
version = g['__version__']
setup(
name="oarepo_multilingual",
version=version,
url="https://github.com/oarepo/oarepo-multilingual",
license="MIT",
author="Alzbeta Pokorna",
author_email="[email protected]",
description="Multilingual support for OARepo",
long_description=readme + '\n\n' + history,
long_description_content_type='text/markdown',
zip_safe=False,
packages=['oarepo_multilingual'],
entry_points={
'oarepo_mapping_handlers': [
'multilingual=oarepo_multilingual.mapping.mapping_handler:handler'
],
'invenio_jsonschemas.schemas': [
'oarepo_multilingual = oarepo_multilingual.jsonschemas'
],
'invenio_base.apps': [
'oarepo_multilingual = oarepo_multilingual.ext:OARepoMultilingualExt'
],
'invenio_base.api_apps': [
'oarepo_multilingual = oarepo_multilingual.ext:OARepoMultilingualExt'
],
},
include_package_data=True,
setup_requires=setup_requires,
extras_require=extras_require,
install_requires=install_requires,
tests_require=tests_require,
platforms='any',
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Development Status :: 4 - Beta',
],
)