forked from rero/rero-mef
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
121 lines (112 loc) · 4.12 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# -*- coding: utf-8 -*-
#
# This file is part of RERO MEF.
# Copyright (C) 2018 RERO.
#
# RERO MEF is free software; you can redistribute it
# and/or modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# RERO MEF is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with RERO MEF; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307, USA.
#
# In applying this license, RERO does not
# waive the privileges and immunities granted to it by virtue of its status
# as an Intergovernmental Organization or submit itself to any jurisdiction.
"""
MEF (Multilingual Entity File) server with records for persons, works, etc.
for reuse in integrated library systems (ILS).
"""
import os
from setuptools import find_packages, setup
readme = open('README.rst').read()
INVENIO_VERSION = "3.0.0"
packages = find_packages()
# Get the version string. Cannot be done with import!
g = {}
with open(os.path.join('rero_mef', 'version.py'), 'rt') as fp:
exec(fp.read(), g)
version = g['__version__']
setup(
name='rero-mef',
version=version,
description=__doc__,
long_description=readme,
keywords='rero-mef Invenio',
license='GPL',
author='RERO',
author_email='[email protected]',
url='https://github.com/rero/rero-mef',
packages=packages,
zip_safe=False,
include_package_data=True,
platforms='any',
entry_points={
'console_scripts': [
'rero-mef = invenio_app.cli:cli',
],
'invenio_assets.bundles': [
'rero_mef_css = rero_mef.bundles:mef_css',
],
'invenio_base.apps': [
'rero-mef = rero_mef.ext:REROMEFAPP'
],
'invenio_base.blueprints': [
'rero_mef = rero_mef.views:blueprint',
],
'invenio_config.module': [
'rero_mef = rero_mef.config',
],
'invenio_db.models': [
'authorities = rero_mef.authorities.models',
],
'invenio_pidstore.minters': [
'viaf = rero_mef.authorities.minters:viaf_id_minter',
'bnf = rero_mef.authorities.minters:bnf_id_minter',
'gnd = rero_mef.authorities.minters:gnd_id_minter',
'rero = rero_mef.authorities.minters:rero_id_minter',
'mef = rero_mef.authorities.minters:mef_id_minter',
],
'invenio_pidstore.fetchers': [
'viaf = rero_mef.authorities.fetchers:viaf_id_fetcher',
'bnf = rero_mef.authorities.fetchers:bnf_id_fetcher',
'gnd = rero_mef.authorities.fetchers:gnd_id_fetcher',
'rero = rero_mef.authorities.fetchers:rero_id_fetcher',
'mef = rero_mef.authorities.fetchers:mef_id_fetcher',
],
'invenio_jsonschemas.schemas': [
'authorities = rero_mef.authorities.jsonschemas',
],
'invenio_search.mappings': [
'authorities = rero_mef.authorities.mappings',
],
'invenio_records.jsonresolver': [
'bnf = rero_mef.authorities.jsonresolvers.bnf_resolver',
'gnd = rero_mef.authorities.jsonresolvers.gnd_resolver',
'rero = rero_mef.authorities.jsonresolvers.rero_resolver',
'mef = rero_mef.authorities.jsonresolvers.mef_resolver'
],
'flask.commands': [
'fixtures = rero_mef.cli:fixtures',
],
},
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: GPL License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Development Status :: 3 - Alpha',
],
)