setup.py 2.99 KB
Newer Older
jim's avatar
jim committed
1 2
##############################################################################
#
icemac's avatar
icemac committed
3
# Copyright (c) 2006-2009 Zope Foundation and Contributors.
jim's avatar
jim committed
4 5 6 7 8 9 10 11 12 13
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
14
name = "zc.buildout"
15
version = "1.6.0-dev-SlapOS-008"
jim's avatar
jim committed
16

jim's avatar
jim committed
17
import os
jim's avatar
jim committed
18
from setuptools import setup
19

20 21 22
def read(*rnames):
    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()

jim's avatar
jim committed
23
long_description=(
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
        read('README.txt')
        + '\n' +
        read('SYSTEM_PYTHON_HELP.txt')
        + '\n' +
        'Detailed Documentation\n'
        '**********************\n'
        + '\n' +
        read('src', 'zc', 'buildout', 'buildout.txt')
        + '\n' +
        read('src', 'zc', 'buildout', 'unzip.txt')
        + '\n' +
        read('src', 'zc', 'buildout', 'repeatable.txt')
        + '\n' +
        read('src', 'zc', 'buildout', 'download.txt')
        + '\n' +
        read('src', 'zc', 'buildout', 'downloadcache.txt')
        + '\n' +
        read('src', 'zc', 'buildout', 'extends-cache.txt')
        + '\n' +
        read('src', 'zc', 'buildout', 'setup.txt')
        + '\n' +
        read('src', 'zc', 'buildout', 'update.txt')
        + '\n' +
        read('src', 'zc', 'buildout', 'debugging.txt')
        + '\n' +
        read('src', 'zc', 'buildout', 'testing.txt')
        + '\n' +
        read('src', 'zc', 'buildout', 'easy_install.txt')
        + '\n' +
        read('src', 'zc', 'buildout', 'distribute.txt')
        + '\n' +
        read('CHANGES.txt')
jim's avatar
jim committed
56
        + '\n' +
57 58
        'Download\n'
        '**********************\n'
jim's avatar
jim committed
59 60
        )

61 62 63 64 65 66 67 68
entry_points = """
[console_scripts]
buildout = %(name)s.buildout:main

[zc.buildout]
debug = %(name)s.testrecipes:Debug

""" % dict(name=name)
jim's avatar
jim committed
69 70

setup(
71
    name = name,
jim's avatar
jim committed
72
    version = version,
73 74
    author = "Jim Fulton",
    author_email = "jim@zope.com",
jim's avatar
jim committed
75 76
    description = "System for managing development buildouts",
    long_description=long_description,
jim's avatar
jim committed
77 78
    license = "ZPL 2.1",
    keywords = "development build",
Łukasz Nowak's avatar
Łukasz Nowak committed
79
    url='http://git.erp5.org/gitweb/slapos.buildout.git',
jim's avatar
jim committed
80

81
    data_files = [('.', ['README.txt'])],
jim's avatar
jim committed
82 83
    packages = ['zc', 'zc.buildout'],
    package_dir = {'': 'src'},
84
    namespace_packages = ['zc'],
85
    install_requires = 'setuptools',
86
    include_package_data = True,
87
    entry_points = entry_points,
88
    extras_require = dict(test=['zope.testing']),
89
    zip_safe=False,
jim's avatar
jim committed
90 91 92 93 94 95
    classifiers = [
       'Intended Audience :: Developers',
       'License :: OSI Approved :: Zope Public License',
       'Topic :: Software Development :: Build Tools',
       'Topic :: Software Development :: Libraries :: Python Modules',
       ],
96
    )