-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
80 lines (60 loc) · 2.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
from setuptools import setup, find_packages
import sys, os
version = '1.4dev'
setup(
name='ckanext-publicamundi',
version=version,
description="A collection of CKAN plugins developed for PublicaMundi project",
long_description="""\
""",
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
keywords='ckan catalog open-data',
author='Michail Alexakis',
author_email='[email protected]',
url='https://github.com/PublicaMundi/ckanext-publicamundi',
license='GPLv3',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
namespace_packages=['ckanext', 'ckanext.publicamundi'],
include_package_data=True,
paster_plugins=['pylons', 'ckan'],
zip_safe=False,
install_requires=[
# -*- Extra requirements: -*-
# Note: Moved under requirements.txt
],
entry_points=\
"""
[ckan.plugins]
publicamundi_dataset = ckanext.publicamundi.plugins:DatasetForm
publicamundi_multilingual_dataset = ckanext.publicamundi.plugins:MultilingualDatasetForm
publicamundi_package = ckanext.publicamundi.plugins:PackageController
publicamundi_errorware = ckanext.publicamundi.plugins:ErrorHandler
publicamundi_geodata_theme = ckanext.publicamundi.themes.geodata.plugin:GeodataThemePlugin
publicamundi_vector = ckanext.publicamundi.storers.vector.plugin:VectorStorer
publicamundi_raster = ckanext.publicamundi.storers.raster.plugin:RasterStorer
publicamundi_analytics = ckanext.publicamundi.analytics.plugin:AnalyticsPlugin
[paste.paster_command]
publicamundi = ckanext.publicamundi.commands:Command
#publicamundi-example1 = ckanext.publicamundi.commands:Example1
[babel.extractors]
publicamundi_extract_json = ckanext.publicamundi.lib.vocabularies.babel_extractors:extract_json
[fanstatic.libraries]
[ckan.celery_task]
vector_tasks = ckanext.publicamundi.storers.vector.celery_import:task_imports
raster_taks = ckanext.publicamundi.storers.raster.celery_import:task_imports
""",
# The following only stands as an example. The actual message_extractors should be defined into
# ckan's setup.py (from where message extraction is invoked).
message_extractors = {
'ckanext/publicamundi': [
#('reference_data/inspire-vocabularies.json', 'publicamundi_extract_json', None),
('reference_data/language-codes.json', 'publicamundi_extract_json', None),
('**.py', 'python', None),
('**.html', 'ckan', None),
#('multilingual/solr/*.txt', 'ignore', None),
#('**.txt', 'genshi', {
# 'template_class': 'genshi.template:TextTemplate'
#}),
]
}
)