/
setup.py
45 lines (40 loc) · 1.3 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
# encoding: utf-8
from setuptools import setup, find_packages
version = '1.0.0'
setup(
name='ckanext-jsonpatch',
version=version,
description='An extension enabling arbitrary patching of model output dictionaries',
url='https://github.com/SAEONData/ckanext-jsonpatch',
author='Mark Jacobson',
author_email='mark@saeon.ac.za',
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
],
keywords='CKAN JSON Patch',
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
namespace_packages=['ckanext'],
install_requires=[
# CKAN extensions should list dependencies in requirements.txt, not here
],
include_package_data=True,
package_data={},
entry_points='''
[ckan.plugins]
jsonpatch = ckanext.jsonpatch.plugin:JSONPatchPlugin
[paste.paster_command]
jsonpatch = ckanext.jsonpatch.command:JSONPatchCommand
[babel.extractors]
ckan = ckan.lib.extract:extract_ckan
''',
message_extractors={
'ckanext': [
('**.py', 'python', None),
('**.js', 'javascript', None),
('**/templates/**.html', 'ckan', None),
],
}
)