-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (48 loc) · 1.58 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
# -*- coding: utf-8 -*-
# Always prefer setuptools over distutils
from setuptools import setup, find_namespace_packages
from codecs import open # To use a consistent encoding
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='ckanext-ark',
version='1.0.3',
description='A CKAN extension for assigning Archival Resource Key '
'(ARK) identifiers to datasets.',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/depositar/ckanext-ark',
author='Cheng-Jen Lee',
author_email='[email protected]',
license='MIT',
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
keywords='CKAN ARK',
packages=find_namespace_packages(exclude=['ckanext.ark.tests']),
namespace_packages=['ckanext'],
install_requires=[
'ckantoolkit',
'noid-mint'
],
include_package_data=True,
entry_points='''
[ckan.plugins]
ark=ckanext.ark.plugin:ArkPlugin
[babel.extractors]
ckan = ckan.lib.extract:extract_ckan
''',
message_extractors={
'ckanext': [
('**.py', 'python', None),
('**.js', 'javascript', None),
('**/templates/**.html', 'ckan', None),
],
}
)