/
setup.py
executable file
·68 lines (62 loc) · 1.96 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 web2pyrecipe
"""
import os
from setuptools import setup, find_packages
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
version = '1.0.1'
long_description = (
read('README.txt')
+ '\n' +
'Detailed Documentation\n'
'**********************\n'
+ '\n' +
read('web2pyrecipe', 'recipe', 'web2pyrecipe', '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 = 'web2pyrecipe.recipe.web2pyrecipe:Recipe'
entry_points = {"zc.buildout": ["default = %s" % entry_point]}
tests_require=['zope.testing', 'zc.buildout']
setup(name='web2pyrecipe',
version=version,
description="A web2py recipe for buildout.",
long_description=long_description,
# Get more strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Framework :: Buildout',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: Zope Public License',
],
keywords='',
author='Douglas Camata',
author_email='d.camata@gmail.com',
url='http://github.com/douglascamata/web2pyrecipe',
license='ZPL',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['web2pyrecipe', 'web2pyrecipe.recipe'],
include_package_data=True,
zip_safe=False,
install_requires=['setuptools',
'zc.buildout'
# -*- Extra requirements: -*-
],
tests_require=tests_require,
extras_require=dict(tests=tests_require),
test_suite = 'web2pyrecipe.recipe.web2pyrecipe.tests.test_docs.test_suite',
entry_points=entry_points,
)