1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
|
#!/usr/bin/env python
#
# Copyright 2009 Canonical Ltd. This software is licensed under the
# GNU Affero General Public License version 3 (see the file LICENSE).
import ez_setup
ez_setup.use_setuptools()
from setuptools import setup, find_packages
__version__ = '2.2.3'
setup(
name='lp',
version=__version__,
packages=find_packages('lib'),
package_dir={'': 'lib'},
include_package_data=True,
zip_safe=False,
maintainer='Launchpad Developers',
description=('A unique collaboration and Bazaar code hosting platform '
'for software projects.'),
license='Affero GPL v3',
# this list should only contain direct dependencies--things imported or
# used in zcml.
install_requires=[
'bzr',
'chameleon.core',
'chameleon.zpt',
'feedvalidator',
'funkload',
'launchpadlib',
'lazr.smtptest',
'lazr.uri',
'mechanize',
'mocker',
'oauth',
'python-openid',
'pytz',
# This appears to be a broken indirect dependency from zope.security:
'RestrictedPython',
'setuptools',
'sourcecodegen',
'storm',
'transaction',
'wadllib',
'z3c.pt',
'z3c.ptcompat',
'zc.zservertracelog',
'zope.app.appsetup',
'zope.app.component',
'zope.app.dav', # ./package-includes/dav-configure.zcml
'zope.app.error',
'zope.app.exception',
'zope.app.file',
'zope.app.form',
'zope.app.pagetemplate',
'zope.app.pluggableauth',
'zope.app.publication',
'zope.app.publisher',
'zope.app.security',
'zope.app.securitypolicy',
'zope.app.server',
'zope.app.session',
'zope.app.testing',
'zope.app.wsgi',
'zope.app.zapi',
'zope.contenttype',
'zope.component[zcml]',
'zope.datetime',
'zope.thread',
'zope.error',
'zope.event',
'zope.exceptions',
'zope.formlib',
'zope.i18n',
'zope.interface',
'zope.hookable', # indirect, via zope.app.component
'zope.lifecycleevent',
'zope.location',
'zope.pagetemplate',
'zope.publisher',
'zope.proxy',
'zope.schema',
'zope.security',
'zope.sendmail',
'zope.server',
'zope.session',
'zope.tal',
'zope.tales',
'zope.testbrowser',
'zope.testing',
'zope.traversing',
'zope.viewlet', # only fixing a broken dependency
# Loggerhead dependencies. These should be removed once
# bug 383360 is fixed and we include it as a source dist.
'Paste',
'PasteDeploy',
'SimpleTal'
],
url='https://launchpad.net/',
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Programming Language :: Python",
],
extras_require=dict(
docs=[
'Sphinx',
'z3c.recipe.sphinxdoc',
]
),
entry_points=dict(
console_scripts=[ # `console_scripts` is a magic name to setuptools
'apiindex = lp.scripts.utilities.apiindex:main',
'killservice = lp.scripts.utilities.killservice:main',
'run = canonical.launchpad.scripts.runlaunchpad:start_launchpad',
'harness = canonical.database.harness:python',
'twistd = twisted.scripts.twistd:run',
'start_librarian '
'= canonical.launchpad.scripts.runlaunchpad:start_librarian',
]
),
)
|