forked from ckan/ckanext-scheming
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
44 lines (41 loc) · 1.55 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
from setuptools import setup, find_packages
version = '2.1.0'
setup(
name='ckanext-scheming',
version=version,
description="Easy, sharable custom CKAN schemas",
long_description="""
This CKAN extension provides a way to configure and share metadata schemas using a
YAML or JSON schema description. Custom validation and template snippets for editing
and display are supported.
Originally developed for the Government of Canada's custom metadata schema, part of
https://github.com/open-data/ckanext-canada
""",
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
keywords='ckan',
author='Ian Ward',
author_email='ian@excess.org',
url='https://github.com/ckan/ckanext-scheming',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
namespace_packages=['ckanext'],
include_package_data=True,
zip_safe=False,
install_requires=[
'pyyaml',
'ckanapi',
'ckantoolkit>=0.0.2',
'pytz',
'six',
],
entry_points=\
"""
[ckan.plugins]
scheming_datasets=ckanext.scheming.plugins:SchemingDatasetsPlugin
scheming_groups=ckanext.scheming.plugins:SchemingGroupsPlugin
scheming_organizations=ckanext.scheming.plugins:SchemingOrganizationsPlugin
scheming_nerf_index=ckanext.scheming.plugins:SchemingNerfIndexPlugin
scheming_test_subclass=ckanext.scheming.tests.plugins:SchemingTestSubclass
scheming_test_plugin=ckanext.scheming.tests.plugins:SchemingTestSchemaPlugin
""",
)