~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
#
10104.3.2 by Michael Hudson
update copyright year
3
# Copyright 2009, 2010 Canonical Ltd.  This software is licensed under the
8687.15.10 by Karl Fogel
Add the copyright header block to top-level files.
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=[
9826.11.14 by Aaron Bentley
Add dependency on ampoule.
27
        'ampoule',
8857.1.1 by Jonathan Lange
Get Bazaar from the buildout.
28
        '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
29
        'chameleon.core',
30
        'chameleon.zpt',
9778.1.37 by Maris Fogels
Added a missing dependency for the cssutils library, required by the lazr-js build system.
31
        'cssutils',
10856.2.22 by Stuart Bishop
Add pydkim to buildout, patched per Bug #587783
32
        # Required for pydkim
33
        'dnspython',
8357.5.10 by Gary Poster
make changes per review by Francis
34
        'feedvalidator',
8911.2.1 by Stuart Bishop
Add funkload 1.10.0 to the Launchpad buildout
35
        'funkload',
8357.5.10 by Gary Poster
make changes per review by Francis
36
        'launchpadlib',
9123.2.2 by Gary Poster
initial switch to lazr distributions. many failures in webservice.
37
        'lazr.batchnavigator',
38
        'lazr.config',
39
        'lazr.delegates',
40
        'lazr.enum',
41
        'lazr.lifecycle',
42
        'lazr.restful',
8697.22.1 by Barry Warsaw
Convert to using lazr.smtptest. Move and re-enable a few mailman tests we'd
43
        'lazr.smtptest',
9778.1.1 by Guilherme Salgado
Use YUI 3.0.0 and the new lazr-js
44
        'lazr.testing',
8357.5.10 by Gary Poster
make changes per review by Francis
45
        'lazr.uri',
9570.14.1 by Bjorn Tillenius
Use lazr-js as an egg.
46
        'lazr-js',
9893.4.27 by Stuart Bishop
Add manuel 1.1.1 (1.2.0 not building due to dependency changes)
47
        'manuel',
8521.3.1 by Gary Poster
initial cut at getting Zope in buildout and out of sourcecode
48
        'mechanize',
10542.7.2 by Guilherme Salgado
Use buildout for meliae
49
        'meliae',
10129.6.19 by Tim Penhey
Make hg imports work!
50
        'mercurial',
8697.12.1 by Stuart Bishop
Add mocker to out buildout environment
51
        'mocker',
10209.2.38 by Stuart Bishop
Add numpy to buildout
52
        'numpy',
8357.5.2 by Gary Poster
incremental changes to using more eggs
53
        'oauth',
9639.1.4 by Gavin Panella
The policy seems to be to put all deps in setup.py.
54
        'paramiko',
9232.2.1 by Stuart Bishop
Bring python-memcached 1.44 into buildout
55
        'python-memcached',
9920.2.2 by Michael Hudson
Twisted depends on pyasn1 now
56
        'pyasn1',
10856.2.22 by Stuart Bishop
Add pydkim to buildout, patched per Bug #587783
57
        'pydkim',
8357.5.2 by Gary Poster
incremental changes to using more eggs
58
        'python-openid',
8650.1.1 by Stuart Bishop
Upgrade pytz to 2009i
59
        'pytz',
8697.27.4 by Gary Poster
we build again, at least, though tests no longer start
60
        # This appears to be a broken indirect dependency from zope.security:
61
        'RestrictedPython',
10547.1.1 by Michael Hudson
getting started
62
        'setproctitle',
8357.5.10 by Gary Poster
make changes per review by Francis
63
        'setuptools',
7849.19.2 by Sidnei da Silva
- Add pinned versions for z3c.ptcompat and the rest of the stack
64
        'sourcecodegen',
7675.239.1 by Stuart Bishop
Revert 8192 (Revert Storm 0.14 upgrade again)
65
        'storm',
10085.6.1 by Jonathan Lange
Use the egg, not sourcecode.
66
        'testtools',
8521.3.1 by Gary Poster
initial cut at getting Zope in buildout and out of sourcecode
67
        'transaction',
10547.1.1 by Michael Hudson
getting started
68
        'Twisted',
8357.5.2 by Gary Poster
incremental changes to using more eggs
69
        'wadllib',
7849.19.2 by Sidnei da Silva
- Add pinned versions for z3c.ptcompat and the rest of the stack
70
        'z3c.pt',
71
        'z3c.ptcompat',
8521.3.1 by Gary Poster
initial cut at getting Zope in buildout and out of sourcecode
72
        'zc.zservertracelog',
73
        'zope.app.appsetup',
74
        'zope.app.component',
75
        'zope.app.dav', # ./package-includes/dav-configure.zcml
76
        'zope.app.error',
77
        'zope.app.exception',
78
        'zope.app.file',
79
        'zope.app.form',
80
        'zope.app.pagetemplate',
81
        'zope.app.publication',
82
        'zope.app.publisher',
83
        'zope.app.security',
84
        'zope.app.securitypolicy',
85
        'zope.app.server',
86
        'zope.app.session',
87
        'zope.app.testing',
9678.4.26 by Barry Warsaw
Another cherrypick
88
        'zope.app.zcmlfiles',
8521.3.1 by Gary Poster
initial cut at getting Zope in buildout and out of sourcecode
89
        'zope.app.wsgi',
90
        'zope.app.zapi',
91
        'zope.contenttype',
92
        'zope.component[zcml]',
93
        'zope.datetime',
94
        'zope.thread',
95
        'zope.error',
96
        'zope.event',
97
        'zope.exceptions',
98
        'zope.formlib',
99
        'zope.i18n',
100
        'zope.interface',
8697.27.6 by Gary Poster
builds again; more test failures fixed.
101
        'zope.hookable', # indirect, via zope.app.component
8521.3.1 by Gary Poster
initial cut at getting Zope in buildout and out of sourcecode
102
        'zope.lifecycleevent',
103
        'zope.location',
104
        'zope.pagetemplate',
105
        'zope.publisher',
106
        'zope.proxy',
107
        'zope.schema',
108
        'zope.security',
109
        'zope.sendmail',
110
        'zope.server',
111
        'zope.session',
112
        'zope.tal',
113
        'zope.tales',
114
        'zope.testbrowser',
115
        'zope.testing',
116
        'zope.traversing',
8521.3.6 by Gary Poster
make run works again
117
        'zope.viewlet', # only fixing a broken dependency
8514.2.2 by Francis J. Lacoste
Add loggerhead dependencies.
118
        # Loggerhead dependencies. These should be removed once
119
        # bug 383360 is fixed and we include it as a source dist.
120
        'Paste',
121
        'PasteDeploy',
122
        'SimpleTal'
8329.1.4 by Gary Poster
respond to reviews; in particular, add doc.
123
    ],
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
124
    url='https://launchpad.net/',
125
    classifiers=[
126
        "Development Status :: 5 - Production/Stable",
127
        "Intended Audience :: Developers",
8329.1.4 by Gary Poster
respond to reviews; in particular, add doc.
128
        "Programming Language :: Python",
129
    ],
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
130
    extras_require=dict(
8329.1.4 by Gary Poster
respond to reviews; in particular, add doc.
131
        docs=[
132
            'Sphinx',
133
            'z3c.recipe.sphinxdoc',
134
        ]
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
135
    ),
136
    entry_points=dict(
8329.1.4 by Gary Poster
respond to reviews; in particular, add doc.
137
        console_scripts=[ # `console_scripts` is a magic name to setuptools
8357.5.2 by Gary Poster
incremental changes to using more eggs
138
            '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.
139
            '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.
140
            'run = canonical.launchpad.scripts.runlaunchpad:start_launchpad',
141
            'harness = canonical.database.harness:python',
8502.2.3 by Gary Poster
make twistd available in the bin directory with the right paths
142
            'twistd = twisted.scripts.twistd:run',
8971.2.1 by Stuart Bishop
Add Librarian startup script
143
            'start_librarian '
144
                '= canonical.launchpad.scripts.runlaunchpad:start_librarian',
10977.2.1 by Gary Poster
use buildout-generated ec2 so paths are more stable when _pythonpath is around
145
            'ec2 = devscripts.ec2test.entrypoint:main',
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
146
        ]
147
    ),
148
)