forked from collective/collective.exportimport
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
93 lines (85 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
92
93
# -*- coding: utf-8 -*-
"""Installer for the collective.exportimport package."""
from setuptools import find_packages
from setuptools import setup
import sys
long_description = "\n\n".join(
[
open("README.rst").read(),
open("CONTRIBUTORS.rst").read(),
open("CHANGES.rst").read(),
]
)
install_requires = [
"setuptools",
"plone.api >= 1.8.4",
"hurry.filesize",
"ijson",
"six",
]
if sys.version_info[0] < 3:
install_requires.append("beautifulsoup4 < 4.10")
install_requires.append("plone.restapi < 8.0.0")
# plone.restapi depends on plone.schema, which depends on jsonschema,
# which has a Py3-only release since September 2021.
install_requires.append("jsonschema < 4")
else:
install_requires.append("plone.restapi")
install_requires.append("beautifulsoup4")
setup(
name="collective.exportimport",
version="1.5.dev0",
description="An add-on for Plone to Export and import content, members, relations, translations and localroles.",
long_description=long_description,
# Get more from https://pypi.org/classifiers/
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Environment :: Web Environment",
"Framework :: Plone",
"Framework :: Plone :: Addon",
"Framework :: Plone :: 4.3",
"Framework :: Plone :: 5.0",
"Framework :: Plone :: 5.1",
"Framework :: Plone :: 5.2",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Operating System :: OS Independent",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
],
keywords="Python Plone CMS",
author="Philip Bauer (for starzel.de)",
author_email="[email protected]",
url="https://github.com/collective/collective.exportimport",
project_urls={
"PyPI": "https://pypi.python.org/pypi/collective.exportimport",
"Source": "https://github.com/collective/collective.exportimport",
"Tracker": "https://github.com/collective/collective.exportimport/issues",
# 'Documentation': 'https://collective.exportimport.readthedocs.io/en/latest/',
},
license="GPL version 2",
packages=find_packages("src", exclude=["ez_setup"]),
namespace_packages=["collective"],
package_dir={"": "src"},
include_package_data=True,
zip_safe=False,
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*",
install_requires=install_requires,
extras_require={
"test": [
"plone.app.testing",
# needed as test dependency of plone.app.event:
"plone.app.robotframework",
"plone.app.contenttypes",
],
},
entry_points="""
[z3c.autoinclude.plugin]
target = plone
[console_scripts]
update_locale = collective.exportimport.locales.update:update_locale
""",
)