-
Committer:
Colin Watson
-
Date:
2022-08-26 19:34:31 UTC
-
Revision ID:
cjwatson@canonical.com-20220826193431-o29s09k84wyd05y1
Move /usr/share/convoy/convoy.wsgi to a new convoy-common package.
This allows it to be used in Python-3-only setups.
The fact that python-convoy/python3-convoy depend on the package
containing `/usr/share/convoy/convoy.wsgi` rather than the other way
round is a bit odd, since `convoy.wsgi` imports from the `convoy`
package. However, this is necessary for a smooth upgrade, and it also
means that we don't have to pick which Python version `convoy-common`
should depend on; this is important since that must be in sync with
whether `libapache2-mod-wsgi` or `libapache2-mod-wsgi-py3` is installed.
Since `convoy.wsgi` itself is Python-version-agnostic and has no `#!`
line, it can safely be shipped in a common package like this.