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
|
# Copyright 2009-2011 Canonical Ltd. This software is licensed under the
# GNU Affero General Public License version 3 (see the file LICENSE).
"""The lp namespace package.
WARNING: This is a namespace package, it should only include other packages,
but no actual code or modules.
This is the root of the Launchpad application namespace.
You'll find in this package:
- Application packages:
lp.answers
lp.bugs
lp.code
etc.
- lp.registry The package containing the core content on which all other
apps build.
- lp.coop The app-collaboration namespace package
- lp.services The namespace package for all general services.
- lp.app The package that integrates all into the web application known as
launchpad.net
- lp.testing General Launchpad testing infrastructure.
The Launchpad code should be structured like an onion, where each layers can
only know about and use (and thus import) from the layers above it).
Here are these layers:
- General Library code (Python stdlib, storm, zope, twisted, bzr, etc.)
- Lazr Library code (lazr.*)
- lp.services
- lp.registry
- lp applications (lp.answers, lp.bugs, ...)
- lp.coop
- lp.app
"""
# Modules should 'from lp import _' instead of constructing their
# own MessageFactory
from zope.i18nmessageid import MessageFactory
_ = MessageFactory("launchpad")
|