forked from ckan/ckanext-harvest
-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
52 lines (50 loc) · 1.45 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
from setuptools import setup, find_packages
import sys, os
version = '0.2'
setup(
name='ckanext-harvest',
version=version,
description="Harvesting interface plugin for CKAN",
long_description="""\
""",
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
keywords='',
author='CKAN',
author_email='ckan@okfn.org',
url='http://ckan.org/wiki/Extensions',
license='mit',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
namespace_packages=['ckanext', 'ckanext.harvest'],
include_package_data=True,
zip_safe=False,
install_requires=[
# dependencies are specified in pip-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.test_plugins]
test_harvester=ckanext.harvest.tests.test_queue:TestHarvester
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_new/**.html', 'ckan', None),
],
}
)