~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
from setuptools import setup, find_packages
10
11
__version__ = '2.2.3'
12
13
setup(
14
    name='lp',
15
    version=__version__,
16
    packages=find_packages('lib'),
8329.1.4 by Gary Poster
respond to reviews; in particular, add doc.
17
    package_dir={'': 'lib'},
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
18
    include_package_data=True,
19
    zip_safe=False,
20
    maintainer='Launchpad Developers',
21
    description=('A unique collaboration and Bazaar code hosting platform '
22
                 'for software projects.'),
8697.27.7 by Gary Poster
merge trunk.
23
    license='Affero GPL v3',
8521.3.1 by Gary Poster
initial cut at getting Zope in buildout and out of sourcecode
24
    # this list should only contain direct dependencies--things imported or
25
    # used in zcml.
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
26
    install_requires=[
8857.1.1 by Jonathan Lange
Get Bazaar from the buildout.
27
        'bzr',
8521.3.5 by Gary Poster
merge from trunk, including sidnei chameleon branch. conflicts resolved, but make run no longer works because zope.viewlet is around, minimally, with the older versions of the zope packages I am using
28
        'chameleon.core',
29
        'chameleon.zpt',
8357.5.10 by Gary Poster
make changes per review by Francis
30
        'feedvalidator',
8911.2.1 by Stuart Bishop
Add funkload 1.10.0 to the Launchpad buildout
31
        'funkload',
8357.5.10 by Gary Poster
make changes per review by Francis
32
        'launchpadlib',
8697.22.1 by Barry Warsaw
Convert to using lazr.smtptest. Move and re-enable a few mailman tests we'd
33
        'lazr.smtptest',
8357.5.10 by Gary Poster
make changes per review by Francis
34
        'lazr.uri',
8521.3.1 by Gary Poster
initial cut at getting Zope in buildout and out of sourcecode
35
        'mechanize',
8697.12.1 by Stuart Bishop
Add mocker to out buildout environment
36
        'mocker',
8357.5.2 by Gary Poster
incremental changes to using more eggs
37
        'oauth',
38
        'python-openid',
8650.1.1 by Stuart Bishop
Upgrade pytz to 2009i
39
        'pytz',
8697.27.4 by Gary Poster
we build again, at least, though tests no longer start
40
        # This appears to be a broken indirect dependency from zope.security:
41
        'RestrictedPython',
8357.5.10 by Gary Poster
make changes per review by Francis
42
        'setuptools',
7849.19.2 by Sidnei da Silva
- Add pinned versions for z3c.ptcompat and the rest of the stack
43
        'sourcecodegen',
7675.239.1 by Stuart Bishop
Revert 8192 (Revert Storm 0.14 upgrade again)
44
        'storm',
8521.3.1 by Gary Poster
initial cut at getting Zope in buildout and out of sourcecode
45
        'transaction',
8357.5.2 by Gary Poster
incremental changes to using more eggs
46
        'wadllib',
7849.19.2 by Sidnei da Silva
- Add pinned versions for z3c.ptcompat and the rest of the stack
47
        'z3c.pt',
48
        'z3c.ptcompat',
8521.3.1 by Gary Poster
initial cut at getting Zope in buildout and out of sourcecode
49
        'zc.zservertracelog',
50
        'zope.app.appsetup',
51
        'zope.app.component',
52
        'zope.app.dav', # ./package-includes/dav-configure.zcml
53
        'zope.app.error',
54
        'zope.app.exception',
55
        'zope.app.file',
56
        'zope.app.form',
57
        'zope.app.pagetemplate',
58
        'zope.app.pluggableauth',
59
        'zope.app.publication',
60
        'zope.app.publisher',
61
        'zope.app.security',
62
        'zope.app.securitypolicy',
63
        'zope.app.server',
64
        'zope.app.session',
65
        'zope.app.testing',
66
        'zope.app.wsgi',
67
        'zope.app.zapi',
68
        'zope.contenttype',
69
        'zope.component[zcml]',
70
        'zope.datetime',
71
        'zope.thread',
72
        'zope.error',
73
        'zope.event',
74
        'zope.exceptions',
75
        'zope.formlib',
76
        'zope.i18n',
77
        'zope.interface',
8697.27.6 by Gary Poster
builds again; more test failures fixed.
78
        'zope.hookable', # indirect, via zope.app.component
8521.3.1 by Gary Poster
initial cut at getting Zope in buildout and out of sourcecode
79
        'zope.lifecycleevent',
80
        'zope.location',
81
        'zope.pagetemplate',
82
        'zope.publisher',
83
        'zope.proxy',
84
        'zope.schema',
85
        'zope.security',
86
        'zope.sendmail',
87
        'zope.server',
88
        'zope.session',
89
        'zope.tal',
90
        'zope.tales',
91
        'zope.testbrowser',
92
        'zope.testing',
93
        'zope.traversing',
8521.3.6 by Gary Poster
make run works again
94
        'zope.viewlet', # only fixing a broken dependency
8514.2.2 by Francis J. Lacoste
Add loggerhead dependencies.
95
        # Loggerhead dependencies. These should be removed once
96
        # bug 383360 is fixed and we include it as a source dist.
97
        'Paste',
98
        'PasteDeploy',
99
        'SimpleTal'
8329.1.4 by Gary Poster
respond to reviews; in particular, add doc.
100
    ],
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
101
    url='https://launchpad.net/',
102
    classifiers=[
103
        "Development Status :: 5 - Production/Stable",
104
        "Intended Audience :: Developers",
8329.1.4 by Gary Poster
respond to reviews; in particular, add doc.
105
        "Programming Language :: Python",
106
    ],
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
107
    extras_require=dict(
8329.1.4 by Gary Poster
respond to reviews; in particular, add doc.
108
        docs=[
109
            'Sphinx',
110
            'z3c.recipe.sphinxdoc',
111
        ]
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
112
    ),
113
    entry_points=dict(
8329.1.4 by Gary Poster
respond to reviews; in particular, add doc.
114
        console_scripts=[ # `console_scripts` is a magic name to setuptools
8357.5.2 by Gary Poster
incremental changes to using more eggs
115
            '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.
116
            '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.
117
            'run = canonical.launchpad.scripts.runlaunchpad:start_launchpad',
118
            'harness = canonical.database.harness:python',
8502.2.3 by Gary Poster
make twistd available in the bin directory with the right paths
119
            'twistd = twisted.scripts.twistd:run',
8971.2.1 by Stuart Bishop
Add Librarian startup script
120
            'start_librarian '
121
                '= canonical.launchpad.scripts.runlaunchpad:start_librarian',
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
122
        ]
123
    ),
124
)