-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
78 lines (74 loc) · 2.54 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
from setuptools import find_packages
from setuptools import setup
version = "2.3.3.dev0"
long_description = "{}\n{}".format(
open("README.rst").read(), open("CHANGES.rst").read()
)
setup(
name="plone.releaser",
version=version,
description="Plone release management utilities",
long_description=long_description,
# Get more strings from https://pypi.org/classifiers/
classifiers=[
"Development Status :: 5 - Production/Stable",
"Framework :: Plone",
"Framework :: Plone :: 6.0",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
keywords="plone release",
author="Eric Steele",
author_email="eric@esteele.net",
url="https://github.com/plone/plone.releaser",
license="GPL",
packages=find_packages(),
namespace_packages=["plone"],
include_package_data=True,
zip_safe=False,
python_requires=">=3.8",
install_requires=[
"setuptools",
"argh",
"gitpython>=3.0.0",
"configparser",
"packaging",
"progress",
"zest.releaser[recommended]>=7.2.0",
"zestreleaser.towncrier>=1.3.0",
"docutils",
],
extras_require={
"test": ["pytest"],
},
entry_points={
"console_scripts": ["manage = plone.releaser.manage:manage"],
"zest.releaser.prereleaser.before": [
(
"set_nothing_changed_yet="
"plone.releaser.release:set_nothing_changed_yet"
),
("set_required_changelog=" "plone.releaser.release:set_required_changelog"),
("cleanup_changelog=" "plone.releaser.release:cleanup_changelog"),
],
"zest.releaser.prereleaser.middle": [
# Note: we explicitly call cleanup_changelog twice.
("cleanup_changelog=" "plone.releaser.release:cleanup_changelog"),
"check_pypi=plone.releaser.release:check_pypi_access",
],
"zest.releaser.releaser.after": [
"update_core=plone.releaser.release:update_core",
(
"update_other_core_branches="
"plone.releaser.release:update_other_core_branches"
),
],
"zest.releaser.postreleaser.before": [
"set_new_changelog=plone.releaser.release:set_new_changelog"
],
},
)