forked from cioos-siooc/ckanext-harvest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (50 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
46
47
48
49
50
51
52
53
54
55
from setuptools import setup, find_packages
version = '1.4.1'
setup(
name='ckanext-harvest',
version=version,
description="Harvesting interface plugin for CKAN",
long_description="""\
""",
classifiers=[],
keywords='',
author='CKAN',
author_email='ckan@okfn.org',
url='https://github.com/ckan/ckanext-harvest',
license='AGPL',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
namespace_packages=['ckanext'],
include_package_data=True,
zip_safe=False,
install_requires=[
# dependencies are specified in requirements.txt
# instead of here
],
tests_require=[
'nose',
'mock',
],
test_suite='nose.collector',
entry_points="""
[ckan.plugins]
# Add plugins here, eg
harvest=ckanext.harvest.plugin:Harvest
ckan_harvester=ckanext.harvest.harvesters:CKANHarvester
ckan_schema_harvester=ckanext.harvest.harvesters:CKANSchemaHarvester
# Test plugins
test_harvester=ckanext.harvest.tests.test_queue:MockHarvester
test_harvester2=ckanext.harvest.tests.test_queue2:MockHarvester
test_action_harvester=ckanext.harvest.tests.test_action:MockHarvesterForActionTests
[paste.paster_command]
harvester = ckanext.harvest.commands.harvester:Harvester
[babel.extractors]
ckan = ckan.lib.extract:extract_ckan
""",
message_extractors={
'ckanext': [
('**.py', 'python', None),
('**.js', 'javascript', None),
('**/templates/**.html', 'ckan', None),
],
}
)