~launchpad-pqm/launchpad/devel

8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
1
#!/usr/bin/env python
8687.15.25 by Karl Fogel
Fix formatting around new license block.
2
#
8687.15.10 by Karl Fogel
Add the copyright header block to top-level files.
3
# Copyright 2009 Canonical Ltd.  This software is licensed under the
4
# GNU Affero General Public License version 3 (see the file LICENSE).
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
5
6
import ez_setup
7
ez_setup.use_setuptools()
8
9
import sys
10
from setuptools import setup, find_packages
11
12
__version__ = '2.2.3'
13
14
setup(
15
    name='lp',
16
    version=__version__,
17
    packages=find_packages('lib'),
8329.1.4 by Gary Poster
respond to reviews; in particular, add doc.
18
    package_dir={'': 'lib'},
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
19
    include_package_data=True,
20
    zip_safe=False,
21
    maintainer='Launchpad Developers',
22
    description=('A unique collaboration and Bazaar code hosting platform '
23
                 'for software projects.'),
24
    license='LGPL v3',
25
    install_requires=[
8357.5.10 by Gary Poster
make changes per review by Francis
26
        'feedvalidator',
27
        'launchpadlib',
28
        'lazr.uri',
8357.5.2 by Gary Poster
incremental changes to using more eggs
29
        'oauth',
30
        'python-openid',
8650.1.1 by Stuart Bishop
Upgrade pytz to 2009i
31
        'pytz',
8357.5.10 by Gary Poster
make changes per review by Francis
32
        'setuptools',
7849.19.2 by Sidnei da Silva
- Add pinned versions for z3c.ptcompat and the rest of the stack
33
        'sourcecodegen',
8677.2.1 by Stuart Bishop
Revert r8679 (Revert storm 0.14 update)
34
        'storm',
7849.19.2 by Sidnei da Silva
- Add pinned versions for z3c.ptcompat and the rest of the stack
35
        'chameleon.core',
36
        'chameleon.zpt',
37
        'z3c.pt',
38
        'z3c.ptcompat',
8357.5.2 by Gary Poster
incremental changes to using more eggs
39
        'wadllib',
8514.2.2 by Francis J. Lacoste
Add loggerhead dependencies.
40
        # Loggerhead dependencies. These should be removed once
41
        # bug 383360 is fixed and we include it as a source dist.
42
        'Paste',
43
        'PasteDeploy',
44
        'SimpleTal'
8329.1.4 by Gary Poster
respond to reviews; in particular, add doc.
45
    ],
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
46
    url='https://launchpad.net/',
47
    classifiers=[
48
        "Development Status :: 5 - Production/Stable",
49
        "Intended Audience :: Developers",
8329.1.4 by Gary Poster
respond to reviews; in particular, add doc.
50
        "Programming Language :: Python",
51
    ],
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
52
    extras_require=dict(
8329.1.4 by Gary Poster
respond to reviews; in particular, add doc.
53
        docs=[
54
            'Sphinx',
55
            'z3c.recipe.sphinxdoc',
56
        ]
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
57
    ),
58
    entry_points=dict(
8329.1.4 by Gary Poster
respond to reviews; in particular, add doc.
59
        console_scripts=[ # `console_scripts` is a magic name to setuptools
8357.5.2 by Gary Poster
incremental changes to using more eggs
60
            'apiindex = lp.scripts.utilities.apiindex:main',
8234.1.4 by Gary Poster
test works, nominally; and bin/py is a bit more functional. problems with import warnings are more serious because they cause tests to fail.
61
            'killservice = lp.scripts.utilities.killservice:main',
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
62
            'run = canonical.launchpad.scripts.runlaunchpad:start_launchpad',
63
            'harness = canonical.database.harness:python',
8502.2.3 by Gary Poster
make twistd available in the bin directory with the right paths
64
            'twistd = twisted.scripts.twistd:run',
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
65
        ]
66
    ),
67
)