-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
77 lines (69 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
68
69
70
71
72
73
74
75
76
77
# -*- coding: utf-8 -*-
"""
This module contains the tool of collective.recipe.plonesite
"""
from setuptools import find_packages
from setuptools import setup
import os
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
version = '1.12.1.dev0'
long_description = (
read('README.rst')
+ '\n' +
'Detailed Documentation\n'
'**********************\n'
+ '\n' +
read('collective', 'recipe', 'plonesite', 'README.rst')
+ '\n' +
'Contributors\n'
'************\n'
+ '\n' +
read('CONTRIBUTORS.rst')
+ '\n' +
'Change history\n'
'**************\n'
+ '\n' +
read('CHANGES.rst')
+ '\n' +
'Download\n'
'********\n')
entry_point = 'collective.recipe.plonesite:Recipe'
entry_points = {"zc.buildout": ["default = %s" % entry_point]}
tests_require = ['zope.testing', 'zc.buildout']
setup(
name='collective.recipe.plonesite',
version=version,
description="A buildout recipe to create and update a plone site",
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 :: Zope Public License',
],
keywords='plone buildout recipe',
author='Clayton Parker',
author_email='[email protected]',
url='http://sixfeetup.com',
license='ZPL',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['collective', 'collective.recipe'],
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
'zc.buildout',
'six'
# -*- Extra requirements: -*-
],
tests_require=tests_require,
extras_require=dict(
tests=tests_require,
upgrade=['collective.upgrade>=1.0rc1']),
test_suite='collective.recipe.plonesite.tests.test_docs.test_suite',
entry_points=entry_points,
)