-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
91 lines (86 loc) · 3.04 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
81
82
83
84
85
86
87
88
89
90
91
import os
from setuptools import find_packages, setup
NAME = "eea.climateadapt"
PATH = NAME.split(".") + ["version.txt"]
VERSION = open(os.path.join(*PATH)).read().strip()
long_description = (
(
open("README.rst").read()
+ "\n"
+ open(os.path.join("docs", "HISTORY.txt")).read()
),
)
setup(
name="eea.climateadapt",
version=VERSION,
description="EEA ClimateAdapt for Plone",
long_description=long_description,
# Get more strings from
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Framework :: Plone",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords="eea zope plone python",
author="European Environment Agency",
author_email="[email protected]",
url="http://eea.github.io",
license="gpl",
packages=find_packages(),
# package_dir = {'': 'eea'},
namespace_packages=["eea"],
include_package_data=True,
zip_safe=False,
install_requires=[
"setuptools",
"plone.app.dexterity",
"plone.namedfile [blobs]",
# -*- Extra requirements: -*-
"z3c.jbot",
"pycountry",
"collective.dexteritytextindexer",
"collective.easyform",
"tokenlib",
"eea.rabbitmq.client", # schedule jobs
"eea.rabbitmq.plone",
"langdetect",
"chardet",
"zeep==3.4.0",
# "google-api-python-client", # google analytics API integration
# "collective.relationhelpers",
],
extras_require={
"test": [
"plone.app.testing",
],
"importer": [
"zope.sqlalchemy",
"psycopg2",
],
},
entry_points="""
# -*- Entry points: -*-
[z3c.autoinclude.plugin]
target = plone
[console_scripts]
climateadapt_importer = eea.climateadapt._importer:main
sync_to_arcgis = eea.climateadapt.scripts.sync_to_arcgis:main
arcgis_cli = eea.climateadapt.scripts.cli_arcgis_client:main
c3s = eea.climateadapt.scripts.c3s:main
get_broken_links = eea.climateadapt.browser.scripts:get_broken_links
sync_adaptecca_casestudies = eea.climateadapt.browser.scripts:sync_adaptecca_casestudies
import_drmkc = eea.climateadapt.browser.scripts:import_drmkc
archive_news = eea.climateadapt.browser.scripts:archive_news
harvest_eea_indicators = eea.climateadapt.scripts.harvest_eea_indicators:main
refresh_analytics_data = eea.climateadapt.browser.admin:refresh_analytics_data
run_translation_step_2 = eea.climateadapt.translation.scripts.translation:translation_step_2
migrate_to_volto = eea.climateadapt.migration.scripts:migrate_to_volto
""",
# The next two lines may be deleted after you no longer need
# addcontent support from paster and before you distribute
# your package.
# setup_requires=["PasteScript"],
# paster_plugins=["templer.localcommands"],
# refresh_analytics_data = eea.climateadapt.browser.admin:refresh_analytics_data
)