~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
7675.916.98 by Henning Eggers
Merged db-stable at r10026 (recife roll-back) but without accepting the changes.
7
8
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
9
ez_setup.use_setuptools()
10
11
from setuptools import setup, find_packages
12
13
__version__ = '2.2.3'
14
15
setup(
16
    name='lp',
17
    version=__version__,
18
    packages=find_packages('lib'),
8329.1.4 by Gary Poster
respond to reviews; in particular, add doc.
19
    package_dir={'': 'lib'},
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
20
    include_package_data=True,
21
    zip_safe=False,
22
    maintainer='Launchpad Developers',
23
    description=('A unique collaboration and Bazaar code hosting platform '
24
                 'for software projects.'),
8697.27.7 by Gary Poster
merge trunk.
25
    license='Affero GPL v3',
8521.3.1 by Gary Poster
initial cut at getting Zope in buildout and out of sourcecode
26
    # this list should only contain direct dependencies--things imported or
27
    # used in zcml.
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
28
    install_requires=[
9826.11.14 by Aaron Bentley
Add dependency on ampoule.
29
        'ampoule',
7675.899.7 by Paul Hummer
Added soupmatchers
30
        'BeautifulSoup',
8857.1.1 by Jonathan Lange
Get Bazaar from the buildout.
31
        'bzr',
13723.2.1 by Gary Poster
Make some micro-optimizations for rendering tasks that shave off about .8 seconds locally when you have many tasks: use Chameleon, and calculate data for the template before rendering, carefully.
32
        'Chameleon',
9778.1.37 by Maris Fogels
Added a missing dependency for the cssutils library, required by the lazr-js build system.
33
        'cssutils',
10856.2.22 by Stuart Bishop
Add pydkim to buildout, patched per Bug #587783
34
        # Required for pydkim
35
        'dnspython',
11562.2.1 by Robert Collins
Add fixtures as a dependency.
36
        'fixtures',
11138.1.1 by Francis J. Lacoste
Add FeedParser dependency.
37
        'FeedParser',
8357.5.10 by Gary Poster
make changes per review by Francis
38
        'feedvalidator',
8911.2.1 by Stuart Bishop
Add funkload 1.10.0 to the Launchpad buildout
39
        'funkload',
14151.2.4 by Gary Poster
incorporate timing limits per test on yuixhr tests
40
        'html5browser',
13745.1.1 by Robert Collins
Use pygpgme from an egg rather than sourcecode.
41
        'pygpgme',
8357.5.10 by Gary Poster
make changes per review by Francis
42
        'launchpadlib',
9123.2.2 by Gary Poster
initial switch to lazr distributions. many failures in webservice.
43
        'lazr.batchnavigator',
44
        'lazr.config',
45
        'lazr.delegates',
46
        'lazr.enum',
47
        'lazr.lifecycle',
48
        'lazr.restful',
8697.22.1 by Barry Warsaw
Convert to using lazr.smtptest. Move and re-enable a few mailman tests we'd
49
        'lazr.smtptest',
9778.1.1 by Guilherme Salgado
Use YUI 3.0.0 and the new lazr-js
50
        'lazr.testing',
8357.5.10 by Gary Poster
make changes per review by Francis
51
        'lazr.uri',
12143.3.1 by Leonard Richardson
Initial implementation.
52
        # Required for launchpadlib
53
        'keyring',
9893.4.27 by Stuart Bishop
Add manuel 1.1.1 (1.2.0 not building due to dependency changes)
54
        'manuel',
14339.3.1 by mbp at canonical
Add Markdown egg dependency
55
        'Markdown',
8521.3.1 by Gary Poster
initial cut at getting Zope in buildout and out of sourcecode
56
        'mechanize',
10542.7.2 by Guilherme Salgado
Use buildout for meliae
57
        'meliae',
10129.6.19 by Tim Penhey
Make hg imports work!
58
        'mercurial',
8697.12.1 by Stuart Bishop
Add mocker to out buildout environment
59
        'mocker',
8357.5.2 by Gary Poster
incremental changes to using more eggs
60
        'oauth',
13646.1.1 by Robert Collins
Start using the new lp:python-oops code.
61
        'oops',
14104.6.25 by Robert Collins
Give CaptureOops a better home and a focused test.
62
        'oops_amqp',
13686.2.5 by Robert Collins
Update to oops 0.0.4.
63
        'oops_datedir_repo',
13960.3.1 by Robert Collins
Update to using the oops-timeline module.
64
        'oops_timeline',
14104.5.1 by Robert Collins
Use oops_twisted rather than an in-tree log.err() adapter.
65
        'oops_twisted',
13686.2.20 by Robert Collins
Migrate the launchpad_loggerhead implementation of oops_middleware to that within oops_wsgi.
66
        'oops_wsgi',
9639.1.4 by Gavin Panella
The policy seems to be to put all deps in setup.py.
67
        'paramiko',
13813.1.6 by Stuart Bishop
Revert reversion in launchpad/devel r13865
68
        'pgbouncer',
7675.166.294 by Stuart Bishop
Switch to psycopg2 2.2.2
69
        'psycopg2',
9232.2.1 by Stuart Bishop
Bring python-memcached 1.44 into buildout
70
        'python-memcached',
9920.2.2 by Michael Hudson
Twisted depends on pyasn1 now
71
        'pyasn1',
10856.2.22 by Stuart Bishop
Add pydkim to buildout, patched per Bug #587783
72
        'pydkim',
14128.3.1 by Aaron Bentley
Implement mustache support for bugs.
73
        'pystache',
8357.5.2 by Gary Poster
incremental changes to using more eggs
74
        'python-openid',
8650.1.1 by Stuart Bishop
Upgrade pytz to 2009i
75
        'pytz',
13405.2.1 by William Grant
Don't depend on lazr.amqp. It's to be an external microservice.
76
        'rabbitfixture',
8697.27.4 by Gary Poster
we build again, at least, though tests no longer start
77
        # This appears to be a broken indirect dependency from zope.security:
78
        'RestrictedPython',
13303.1.3 by Francis J. Lacoste
Merge devel and resolved conflicts.
79
        'selenium',
10547.1.1 by Michael Hudson
getting started
80
        'setproctitle',
8357.5.10 by Gary Poster
make changes per review by Francis
81
        'setuptools',
12392.1.6 by Jonathan Lange
Make sphinx a dependency
82
        'Sphinx',
7675.899.7 by Paul Hummer
Added soupmatchers
83
        'soupmatchers',
7849.19.2 by Sidnei da Silva
- Add pinned versions for z3c.ptcompat and the rest of the stack
84
        'sourcecodegen',
7675.239.1 by Stuart Bishop
Revert 8192 (Revert Storm 0.14 upgrade again)
85
        'storm',
10085.6.1 by Jonathan Lange
Use the egg, not sourcecode.
86
        'testtools',
13643.1.1 by Robert Collins
Use the new extracted timeline module.
87
        'timeline',
8521.3.1 by Gary Poster
initial cut at getting Zope in buildout and out of sourcecode
88
        'transaction',
10547.1.1 by Michael Hudson
getting started
89
        'Twisted',
14237.1.10 by mbp at canonical
TacTestSetup now uses the external txfixtures implementation
90
        'txfixtures',
14032.1.2 by Raphael Badin
Don't use RabbitServer in TxLongPollServer.
91
        'txlongpollfixture',
8357.5.2 by Gary Poster
incremental changes to using more eggs
92
        'wadllib',
7849.19.2 by Sidnei da Silva
- Add pinned versions for z3c.ptcompat and the rest of the stack
93
        'z3c.pt',
94
        'z3c.ptcompat',
8521.3.1 by Gary Poster
initial cut at getting Zope in buildout and out of sourcecode
95
        'zc.zservertracelog',
11073.1.1 by Guilherme Salgado
Committing so that Gary can give it a try
96
        'zope.app.apidoc',
8521.3.1 by Gary Poster
initial cut at getting Zope in buildout and out of sourcecode
97
        'zope.app.appsetup',
98
        'zope.app.component',
13618.2.1 by Gary Poster
Make ++profile++ use standard page templates, not chameleon, to remove template compilation step in Makefile
99
        'zope.app.dav',  # ./zcml/package-includes/dav-configure.zcml
8521.3.1 by Gary Poster
initial cut at getting Zope in buildout and out of sourcecode
100
        'zope.app.error',
101
        'zope.app.exception',
102
        'zope.app.file',
103
        'zope.app.form',
11073.1.1 by Guilherme Salgado
Committing so that Gary can give it a try
104
        'zope.app.onlinehelp',
8521.3.1 by Gary Poster
initial cut at getting Zope in buildout and out of sourcecode
105
        'zope.app.pagetemplate',
11073.1.1 by Guilherme Salgado
Committing so that Gary can give it a try
106
        'zope.app.preference',
8521.3.1 by Gary Poster
initial cut at getting Zope in buildout and out of sourcecode
107
        'zope.app.publication',
108
        'zope.app.publisher',
109
        'zope.app.security',
110
        'zope.app.securitypolicy',
111
        'zope.app.server',
112
        'zope.app.session',
113
        'zope.app.testing',
11073.1.1 by Guilherme Salgado
Committing so that Gary can give it a try
114
        'zope.app.tree',
9678.4.26 by Barry Warsaw
Another cherrypick
115
        'zope.app.zcmlfiles',
8521.3.1 by Gary Poster
initial cut at getting Zope in buildout and out of sourcecode
116
        'zope.app.wsgi',
117
        'zope.app.zapi',
118
        'zope.contenttype',
119
        'zope.component[zcml]',
120
        'zope.datetime',
121
        'zope.thread',
122
        'zope.error',
123
        'zope.event',
124
        'zope.exceptions',
125
        'zope.formlib',
126
        'zope.i18n',
127
        'zope.interface',
13618.2.1 by Gary Poster
Make ++profile++ use standard page templates, not chameleon, to remove template compilation step in Makefile
128
        'zope.hookable',  # indirect, via zope.app.component
8521.3.1 by Gary Poster
initial cut at getting Zope in buildout and out of sourcecode
129
        'zope.lifecycleevent',
130
        'zope.location',
11073.1.9 by Guilherme Salgado
Add zope.login to the requirements in setup.py as BasicAuthAdapter has been moved there from the latest zope.publisher
131
        'zope.login',
8521.3.1 by Gary Poster
initial cut at getting Zope in buildout and out of sourcecode
132
        'zope.pagetemplate',
133
        'zope.publisher',
134
        'zope.proxy',
135
        'zope.schema',
136
        'zope.security',
137
        'zope.sendmail',
138
        'zope.server',
139
        'zope.session',
140
        'zope.tal',
141
        'zope.tales',
142
        'zope.testbrowser',
143
        'zope.testing',
144
        'zope.traversing',
13618.2.1 by Gary Poster
Make ++profile++ use standard page templates, not chameleon, to remove template compilation step in Makefile
145
        'zope.viewlet',  # only fixing a broken dependency
8514.2.2 by Francis J. Lacoste
Add loggerhead dependencies.
146
        # Loggerhead dependencies. These should be removed once
147
        # bug 383360 is fixed and we include it as a source dist.
148
        'Paste',
149
        'PasteDeploy',
13317.1.1 by Graham Binns
lazr.amqp is now a build dependency for Launchpad.
150
        'SimpleTal',
8329.1.4 by Gary Poster
respond to reviews; in particular, add doc.
151
    ],
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
152
    url='https://launchpad.net/',
153
    classifiers=[
154
        "Development Status :: 5 - Production/Stable",
155
        "Intended Audience :: Developers",
8329.1.4 by Gary Poster
respond to reviews; in particular, add doc.
156
        "Programming Language :: Python",
157
    ],
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
158
    extras_require=dict(
8329.1.4 by Gary Poster
respond to reviews; in particular, add doc.
159
        docs=[
160
            'Sphinx',
161
            'z3c.recipe.sphinxdoc',
162
        ]
8234.1.2 by Gary Poster
checkpoint: this initial buildout variant has several parts working, including run, start, stop, and harness.
163
    ),
164
    entry_points=dict(
13618.2.1 by Gary Poster
Make ++profile++ use standard page templates, not chameleon, to remove template compilation step in Makefile
165
        console_scripts=[  # `console_scripts` is a magic name to setuptools
8357.5.2 by Gary Poster
incremental changes to using more eggs
166
            '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.
167
            'killservice = lp.scripts.utilities.killservice:main',
13314.4.4 by j.c.sackett
Brought back the remaining js tools and changed "build" to "js" as they're not really all build tools.
168
            'jsbuild = lp.scripts.utilities.js.jsbuild:main',
14565.2.11 by Curtis Hovey
Moved runlaunchpad to lp.scripts.
169
            'run = lp.scripts.runlaunchpad:start_launchpad',
13992.1.1 by Gary Poster
Add yui xhr integration test support.
170
            'run-testapp = '
14565.2.11 by Curtis Hovey
Moved runlaunchpad to lp.scripts.
171
                'lp.scripts.runlaunchpad:start_testapp',
14606.3.4 by William Grant
Replace canonical.database usage everywhere, and format-imports.
172
            'harness = lp.scripts.harness:python',
8502.2.3 by Gary Poster
make twistd available in the bin directory with the right paths
173
            'twistd = twisted.scripts.twistd:run',
13992.1.1 by Gary Poster
Add yui xhr integration test support.
174
            'start_librarian = '
14565.2.11 by Curtis Hovey
Moved runlaunchpad to lp.scripts.
175
                'lp.scripts.runlaunchpad:start_librarian',
10977.2.1 by Gary Poster
use buildout-generated ec2 so paths are more stable when _pythonpath is around
176
            '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.
177
        ]
178
    ),
179
)