-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
49 lines (46 loc) · 1.65 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
#!/usr/bin/env python
# encoding=utf-8
from __future__ import print_function
import os
import sys
try:
from setuptools import setup
except ImportError:
print("This package requires 'setuptools' to be installed.")
sys.exit(1)
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
setup(name='mc2skos',
version='0.12.0', # Use bumpversion to update
description='Convert Marc21 Classification records in MARC/XML to SKOS/RDF ',
long_description=README,
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
keywords='marc rdf skos',
author='Dan Michael O. Heggø',
author_email='[email protected]',
url='https://github.com/scriptotek/mc2skos',
license='MIT',
install_requires=['rdflib[sparql]',
'rdflib-jsonld',
'lxml',
'otsrdflib>=0.5.0,<0.6.0',
'iso-639',
'pyyaml',
'future',
'skosify>=2.0.1'
],
setup_requires=['rdflib', 'pytest-runner>=2.9'],
tests_require=['pytest', 'pytest-pep8', 'pytest-cov'],
packages=['mc2skos'],
entry_points={'console_scripts': ['mc2skos=mc2skos.mc2skos:main']},
package_data={
'mc2skos': ['jskos-context.json', 'vocabularies.yml']
},
include_package_data=True
)