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