forked from ckan/ckanext-dcat
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
60 lines (49 loc) · 1.78 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
53
54
55
56
57
58
59
60
from setuptools import setup, find_packages
version = '1.0.0'
setup(
name='ckanext-dcat',
version=version,
description="Plugins for exposing and consuming DCAT metadata on CKAN",
long_description='''\
''',
classifiers=[],
keywords='',
author='Open Knowledge Foundation',
author_email='[email protected]',
url='https://github.com/okfn/ckanext-dcat',
license='AGPL',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
namespace_packages=['ckanext'],
include_package_data=True,
zip_safe=False,
install_requires=[
# -*- Extra requirements: -*-
],
entry_points='''
[ckan.plugins]
dcat_xml_harvester=ckanext.dcat.harvesters:DCATXMLHarvester
dcat_json_harvester=ckanext.dcat.harvesters:DCATJSONHarvester
dcat_rdf_harvester=ckanext.dcat.harvesters:DCATRDFHarvester
dcat_json_interface=ckanext.dcat.plugins:DCATJSONInterface
dcat=ckanext.dcat.plugins:DCATPlugin
structured_data=ckanext.dcat.plugins:StructuredDataPlugin
# Test plugins
test_rdf_harvester=ckanext.dcat.tests.test_harvester:TestRDFHarvester
test_rdf_null_harvester=ckanext.dcat.tests.test_harvester:TestRDFNullHarvester
test_rdf_exception_harvester=ckanext.dcat.tests.test_harvester:TestRDFExceptionHarvester
[ckan.rdf.profiles]
euro_dcat_ap=ckanext.dcat.profiles:EuropeanDCATAPProfile
schemaorg=ckanext.dcat.profiles:SchemaOrgProfile
[paste.paster_command]
generate_static = ckanext.dcat.commands:GenerateStaticDCATCommand
[babel.extractors]
ckan = ckan.lib.extract:extract_ckan
''',
message_extractors={
'ckanext': [
('**.py', 'python', None),
('**.js', 'javascript', None),
('**/templates/**.html', 'ckan', None),
],
},
)