-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
67 lines (62 loc) · 2.08 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
# -*- coding: utf-8 -*-
"""
This module contains the tool of collective.recipe.patch
"""
import os
from setuptools import setup, find_packages
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
version = '0.2.3'
long_description = (
read('README.txt') + '\n'
'Detailed Documentation\n'
'**********************\n\n' +
read('collective', 'recipe', 'patch', 'README.txt')
+ '\n' +
'Contributors\n'
'************\n'
+ '\n' +
read('CONTRIBUTORS.txt')
+ '\n' +
'Change history\n'
'**************\n'
+ '\n' +
read('CHANGES.txt')
+ '\n' +
'Download\n'
'********\n'
)
entry_point = 'collective.recipe.patch:Recipe'
entry_points = {"zc.buildout": ["default = %s" % entry_point]}
tests_require=['zope.testing', 'zc.buildout']
setup(name='collective.recipe.patch',
version=version,
description="recipe for patching eggs",
long_description=long_description,
# Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Framework :: Buildout',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: GNU General Public License (GPL)',
],
keywords='buildout recipe patch',
author='Rok Garbas',
author_email='[email protected]',
url='http://github.com/garbas/collective.recipe.patch',
license='GPL',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['collective', 'collective.recipe'],
include_package_data=True,
install_requires=['setuptools',
'zc.buildout',
# -*- Extra requirements: -*-
'zc.recipe.egg',
],
tests_require=tests_require,
extras_require=dict(tests=tests_require),
test_suite = 'collective.recipe.patch.tests.test_docs.test_suite',
entry_points=entry_points,
zip_safe = True,
)