forked from NaturalHistoryMuseum/ckanext-doi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
52 lines (48 loc) · 1.62 KB
/
Copy pathsetup.py
File metadata and controls
52 lines (48 loc) · 1.62 KB
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
#!/usr/bin/env python3
# encoding: utf-8
#
# This file is part of ckanext-doi
# Created by the Natural History Museum in London, UK
from setuptools import find_packages, setup
__version__ = '3.0.3'
with open('README.md', 'r') as f:
__long_description__ = f.read()
setup(
name='ckanext-doi',
version=__version__,
description='A CKAN extension for assigning a digital object identifier (DOI) to datasets, '
'using the DataCite DOI service.',
long_description=__long_description__,
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
keywords='CKAN data doi',
author='Natural History Museum',
author_email='data@nhm.ac.uk',
url='https://github.com/NaturalHistoryMuseum/ckanext-doi',
license='GNU GPLv3',
packages=find_packages(exclude=['tests']),
namespace_packages=['ckanext', 'ckanext.doi'],
include_package_data=True,
zip_safe=False,
install_requires=[
# force the base same version as ckan (the datacite github repo installs a higher version)
'lxml~=4.4.0',
'requests',
'xmltodict==0.12.0',
'jsonschema==3.0.0',
# force the same base version as ckan
'python-dateutil~=2.8.0',
],
entry_points= \
'''
[ckan.plugins]
doi=ckanext.doi.plugin:DOIPlugin
''',
)