2011-03-09 19:56:55 +01:00
|
|
|
from setuptools import setup, find_packages
|
|
|
|
import sys, os
|
|
|
|
|
2011-07-29 12:31:03 +02:00
|
|
|
version = '0.2'
|
2011-03-09 19:56:55 +01:00
|
|
|
|
|
|
|
setup(
|
|
|
|
name='ckanext-harvest',
|
|
|
|
version=version,
|
2011-05-13 18:08:21 +02:00
|
|
|
description="Harvesting interface plugin for CKAN",
|
2011-03-09 19:56:55 +01:00
|
|
|
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=[
|
2011-04-28 11:14:13 +02:00
|
|
|
# dependencies are specified in pip-requirements.txt
|
|
|
|
# instead of here
|
2011-03-09 19:56:55 +01:00
|
|
|
],
|
|
|
|
tests_require=[
|
|
|
|
'nose',
|
|
|
|
'mock',
|
|
|
|
],
|
|
|
|
test_suite = 'nose.collector',
|
|
|
|
entry_points=\
|
|
|
|
"""
|
|
|
|
[ckan.plugins]
|
|
|
|
# Add plugins here, eg
|
2011-03-28 16:52:43 +02:00
|
|
|
harvest=ckanext.harvest.plugin:Harvest
|
2011-04-19 15:54:59 +02:00
|
|
|
ckan_harvester=ckanext.harvest.harvesters:CKANHarvester
|
2015-04-07 14:31:45 +02:00
|
|
|
[ckan.test_plugins]
|
2015-11-03 01:22:53 +01:00
|
|
|
test_harvester=ckanext.harvest.tests.test_queue:MockHarvester
|
2015-04-07 14:31:45 +02:00
|
|
|
test_action_harvester=ckanext.harvest.tests.test_action:MockHarvesterForActionTests
|
2011-03-09 19:56:55 +01:00
|
|
|
[paste.paster_command]
|
2011-03-14 14:34:48 +01:00
|
|
|
harvester = ckanext.harvest.commands.harvester:Harvester
|
2015-06-10 10:55:36 +02:00
|
|
|
[babel.extractors]
|
|
|
|
ckan = ckan.lib.extract:extract_ckan
|
2011-03-09 19:56:55 +01:00
|
|
|
""",
|
2015-06-10 10:55:36 +02:00
|
|
|
message_extractors={
|
|
|
|
'ckanext': [
|
|
|
|
('**.py', 'python', None),
|
|
|
|
('**.js', 'javascript', None),
|
|
|
|
('**/templates_new/**.html', 'ckan', None),
|
|
|
|
],
|
|
|
|
}
|
2011-03-09 19:56:55 +01:00
|
|
|
)
|