-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
77 lines (70 loc) · 2.12 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 -*-
"""
This module contains the tool of collective.recipe.backup
"""
import os
from setuptools import setup, find_packages
def read(*rnames):
return open(os.path.join(*rnames)).read()
version = '4.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=[
'Framework :: Buildout',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'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='reinout@vanrees.org',
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,
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,
)