forked from ckan/ckanext-scheming
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
51 lines (48 loc) · 1.88 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
from setuptools import setup, find_packages
import sys, os
version = '2.0.5'
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='',
author='Ian Ward',
author_email='[email protected]',
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=[],
entry_points=\
"""
[ckan.plugins]
scheming_datasets=ckanext.scheming.plugins:SchemingDatasetsPlugin
scheming_groups=ckanext.scheming.plugins:SchemingGroupsPlugin
scheming_organizations=ckanext.scheming.plugins:SchemingOrganizationsPlugin
scheming_test_subclass=ckanext.scheming.tests.plugins:SchemingTestSubclass
scheming_test_plugin=ckanext.scheming.tests.plugins:SchemingTestSchemaPlugin
itranslation=ckanext.itranslation.plugin:ExampleITranslationPlugin
scheming_uploadFix=ckanext.scheming.plugins:SchemingOrganizationCustomRouting
[babel.extractors]
ckan = ckan.lib.extract:extract_ckan
[paste.paster_command]
scheming=ckanext.scheming.commands:SchemingCommand
""",
message_extractors={
'ckanext': [
('**.py', 'python', None),
('**.js', 'javascript', None),
('**/templates/**.html', 'ckan', None),
],
}
)