-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
72 lines (64 loc) · 2.18 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
"""
This module contains the tool of collective.recipe.backup
"""
from setuptools import find_packages
from setuptools import setup
import os
def read(*rnames):
return open(os.path.join(*rnames)).read()
version = "5.0.1.dev0"
long_description = (
read("README.rst") + "\n" + "Contributors\n"
"************\n" + "\n" + read("CONTRIBUTORS.rst") + "\n" + "Change history\n"
"**************\n" + "\n" + read("CHANGES.rst")
)
entry_point = "collective.recipe.backup:Recipe"
entry_points = {
"zc.buildout": ["default = %s" % entry_point],
}
tests_require = [
"zope.testing",
"zc.buildout[test]",
"zc.recipe.egg",
]
setup(
name="collective.recipe.backup",
version=version,
description="bin/backup script: sensible defaults around bin/repozo",
long_description=long_description,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Framework :: Buildout",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: GNU General Public License (GPL)",
],
keywords="buildout backup repozo zope",
author="Reinout van Rees, Maurits van Rees",
author_email="m.van.rees@zestsoftware.nl",
url="https://github.com/collective/collective.recipe.backup",
license="GPL",
package_dir={"": "src"},
packages=find_packages("src"),
namespace_packages=["collective", "collective.recipe"],
include_package_data=True,
zip_safe=False,
python_requires=">=3.8",
install_requires=[
"zc.buildout",
"setuptools",
"zc.recipe.egg",
],
tests_require=tests_require,
extras_require=dict(tests=tests_require),
test_suite="collective.recipe.backup.tests.test_docs.test_suite",
entry_points=entry_points,
)