-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
77 lines (73 loc) · 2.29 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
# -*- coding: utf-8 -*-
"""Installer for the wise.theme package."""
import os
from os.path import join
from setuptools import setup, find_packages
NAME = 'wise.theme'
PATH = ['src'] + NAME.split('.') + ['version.txt']
VERSION = open(join(*PATH)).read().strip()
long_description = '\n\n'.join([
open('README.rst').read(),
open('CONTRIBUTORS.rst').read(),
open('CHANGES.rst').read(),
open(os.path.join("docs", "HISTORY.txt")).read()
])
setup(
name=NAME,
version=VERSION,
description="Installable theme: wise.theme",
long_description_content_type="text/x-rst",
long_description=long_description,
# Get more from https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Environment :: Web Environment",
"Framework :: Plone",
"Framework :: Plone :: 5.0",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Operating System :: OS Independent",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
],
keywords='Python Plone',
author='Eau de Web',
author_email='krisztina.elekes@eaudeweb.ro',
url='https://github.com/eea/wise.theme',
license='GPL version 2',
packages=find_packages('src', exclude=['ez_setup']),
namespace_packages=['wise'],
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
install_requires=[
'plone.api',
'Products.GenericSetup>=1.8.2',
'setuptools',
'z3c.jbot',
'plone.app.theming',
'plone.app.themingplugins',
'plone.app.robotframework',
'plone.app.testing',
'eea.api.dataconnector',
'webcouturier.dropdownmenu',
'robotsuite',
'pyexcel==0.6.7',
'pyexcel-xlsx==0.6.0',
'openpyxl==3.0.10',
'pdfkit',
],
extras_require={
'test': [
'plone.app.testing',
# Plone KGS does not use this version, because it would break
# Remove if your package shall be part of coredev.
# plone_coredev tests as of 2016-04-01.
'plone.testing>=5.0.0',
'plone.app.contenttypes',
'plone.app.robotframework[debug]',
],
},
entry_points="""
[z3c.autoinclude.plugin]
target = plone
""",
)