setup.py 1.68 KB
Newer Older
jim's avatar
jim committed
1
import os
2 3
from setuptools import setup, find_packages

4 5 6
def read(*rnames):
    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()

jim's avatar
jim committed
7
name = "zc.buildout"
8
setup(
jim's avatar
jim committed
9
    name = name,
jim's avatar
jim committed
10
    version = "1.0.0b18",
jim's avatar
jim committed
11 12 13
    author = "Jim Fulton",
    author_email = "jim@zope.com",
    description = "System for managing development buildouts",
jim's avatar
jim committed
14
    long_description=(
15
        read('README.txt')
jim's avatar
jim committed
16
        + '\n' +
17
        read('CHANGES.txt')
jim's avatar
jim committed
18 19 20 21
        + '\n' +
        'Detailed Documentation\n'
        '**********************\n'
        + '\n' +
22 23 24
        read('src', 'zc', 'buildout', 'buildout.txt')
        + '\n' +
        read('src', 'zc', 'buildout', 'update.txt')
jim's avatar
jim committed
25
        + '\n' +
26
        read('src', 'zc', 'buildout', 'testing.txt')
jim's avatar
jim committed
27
        + '\n' +
28 29
        read('src', 'zc', 'buildout', 'easy_install.txt')
        + '\n' +
30 31
        'Download\n'
        '**********************\n'
jim's avatar
jim committed
32
        ),
jim's avatar
jim committed
33 34 35 36
    license = "ZPL 2.1",
    keywords = "development build",
    url='http://svn.zope.org/zc.buildout',

37
    data_files = [('.', ['README.txt'])],
jim's avatar
jim committed
38 39
    packages = ['zc', 'zc.buildout'],
    package_dir = {'': 'src'},
40
    namespace_packages = ['zc'],
jim's avatar
jim committed
41
    install_requires = 'setuptools',
42 43
    include_package_data = True,
    tests_require = ['zope.testing'],
jim's avatar
jim committed
44
    test_suite = name+'.tests.test_suite',
45
    entry_points = {'console_scripts':
jim's avatar
jim committed
46
                    ['buildout = %s.buildout:main' % name]}, 
47
    zip_safe=False,
jim's avatar
jim committed
48 49 50 51 52 53 54
    classifiers = [
       'Development Status :: 4 - Beta',
       'Intended Audience :: Developers',
       'License :: OSI Approved :: Zope Public License',
       'Topic :: Software Development :: Build Tools',
       'Topic :: Software Development :: Libraries :: Python Modules',
       ],
55
    )