-
Notifications
You must be signed in to change notification settings - Fork 163
/
setup.py
45 lines (42 loc) · 1.64 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
from setuptools import setup, find_packages
version = '3.0.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',
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.7',
'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
scheming_test_validation=ckanext.scheming.tests.plugins:SchemingTestValidationPlugin
""",
)