forked from sdouche/collective.recipe.sphinxbuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
69 lines (61 loc) · 2.42 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
# -*- coding: utf-8 -*-
"""
This module contains the tool of collective.recipe.sphinxbuilder
"""
import os
from setuptools import setup, find_packages
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
version = '0.7.3'
long_description = (
read('README.rst')
+ '\n' +
'Detailed Documentation\n'
'**********************\n'
+ '\n' +
read('src', 'collective', 'recipe', 'sphinxbuilder', 'docs', 'about_sphinx.rst')
+ '\n' +
read('src', 'collective', 'recipe', 'sphinxbuilder', 'docs', 'quick_start.rst')
+ '\n' +
read('src', 'collective', 'recipe', 'sphinxbuilder', 'docs', 'options.rst')
+ '\n' +
read('src', 'collective', 'recipe', 'sphinxbuilder', 'docs', 'usage.rst')
+ '\n' +
read('src', 'collective', 'recipe', 'sphinxbuilder', 'docs', 'contributors.rst')
+ '\n' +
read('src', 'collective', 'recipe', 'sphinxbuilder', 'docs', 'history.rst')
)
setup(name='collective.recipe.sphinxbuilder',
version=version,
description="ZC.buildout recipe to generate and build Sphinx-based documentation in the buildout.",
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='buildout sphinx',
author='Tarek Ziade',
author_email='[email protected]',
url='https://github.com/sdouche/collective.recipe.sphinxbuilder',
license='ZPL',
packages = find_packages('src', exclude=['ez_setup']),
package_dir = {'':'src'},
namespace_packages=['collective', 'collective.recipe'],
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
'zc.buildout',
'zc.recipe.egg',
'docutils',
'Sphinx>=1.1'],
tests_require=['zope.testing', 'zc.buildout'],
extras_require=dict(tests=['zope.testing', 'zc.buildout']),
test_suite = 'collective.recipe.sphinxbuilder.tests.test_docs.test_suite',
entry_points = {"zc.buildout": ["default = collective.recipe.sphinxbuilder:Recipe"]}
)
# python setup.py --long-description | rst2html.py > /dev/null