-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
41 lines (40 loc) · 1.26 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
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(name='pymarc2jsonl',
version='0.0.1',
description='MARC21 to MarcXchange formatted ld-JSON and reverse converter based on pymarc',
url='https://github.com/slub/pymarc2jsonl',
author='Bernhard Hering',
author_email='[email protected]',
license="Apache 2.0",
packages=[
'marc2jsonl',
'marcfr2jsonl',
'json2marc21',
'json2marcxml'
],
package_dir={
'marc2jsonl': 'marc2jsonl',
'marcfr2jsonl': 'marc2jsonl',
'json2marc21': 'json2marc21',
'json2marcxml': 'json2marc21'
},
install_requires=[
'argparse>=1.4.0',
'pymarc>=4.0.0,<5',
'six>=1.14.0',
'lxml>=4.8.0',
'es2json @ git+https://github.com/slub/es2json.git'
],
python_requires=">=3.6,<4",
entry_points={
"console_scripts": [
"pymarc2jsonl=marc2jsonl.marc2jsonl:main",
"pymarcfr2jsonl=marc2jsonl.marcfr2jsonl:main",
"json2marc21=json2marc21.json2marc21:main",
"json2marcxml=json2marc21.json2marcxml:main"
]
}
)