mod-wsgi-httpd 2.4.67.1.dev1__tar.gz → 2.4.68.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mod_wsgi_httpd-2.4.68.2/PKG-INFO +141 -0
- mod_wsgi_httpd-2.4.68.2/README.rst +103 -0
- mod_wsgi_httpd-2.4.68.2/mod_wsgi_httpd.egg-info/PKG-INFO +141 -0
- {mod_wsgi_httpd-2.4.67.1.dev1 → mod_wsgi_httpd-2.4.68.2}/mod_wsgi_httpd.egg-info/SOURCES.txt +3 -3
- {mod_wsgi_httpd-2.4.67.1.dev1 → mod_wsgi_httpd-2.4.68.2}/setup.py +15 -16
- mod_wsgi_httpd-2.4.68.2/upstream/apr-util-1.6.5.tar.gz +0 -0
- mod_wsgi_httpd-2.4.67.1.dev1/upstream/httpd-2.4.67.tar.gz → mod_wsgi_httpd-2.4.68.2/upstream/httpd-2.4.68.tar.gz +0 -0
- mod_wsgi_httpd-2.4.68.2/upstream/pcre2-10.48.tar.gz +0 -0
- mod_wsgi_httpd-2.4.67.1.dev1/PKG-INFO +0 -103
- mod_wsgi_httpd-2.4.67.1.dev1/README.rst +0 -66
- mod_wsgi_httpd-2.4.67.1.dev1/mod_wsgi_httpd.egg-info/PKG-INFO +0 -103
- mod_wsgi_httpd-2.4.67.1.dev1/upstream/apr-util-1.6.3.tar.gz +0 -0
- mod_wsgi_httpd-2.4.67.1.dev1/upstream/pcre-8.45.tar.gz +0 -0
- {mod_wsgi_httpd-2.4.67.1.dev1 → mod_wsgi_httpd-2.4.68.2}/LICENSE +0 -0
- {mod_wsgi_httpd-2.4.67.1.dev1 → mod_wsgi_httpd-2.4.68.2}/MANIFEST.in +0 -0
- {mod_wsgi_httpd-2.4.67.1.dev1 → mod_wsgi_httpd-2.4.68.2}/_module.c +0 -0
- {mod_wsgi_httpd-2.4.67.1.dev1 → mod_wsgi_httpd-2.4.68.2}/mod_wsgi_httpd.egg-info/dependency_links.txt +0 -0
- {mod_wsgi_httpd-2.4.67.1.dev1 → mod_wsgi_httpd-2.4.68.2}/mod_wsgi_httpd.egg-info/entry_points.txt +0 -0
- {mod_wsgi_httpd-2.4.67.1.dev1 → mod_wsgi_httpd-2.4.68.2}/mod_wsgi_httpd.egg-info/top_level.txt +0 -0
- {mod_wsgi_httpd-2.4.67.1.dev1 → mod_wsgi_httpd-2.4.68.2}/setup.cfg +0 -0
- {mod_wsgi_httpd-2.4.67.1.dev1 → mod_wsgi_httpd-2.4.68.2}/src/__init__.py +0 -0
- {mod_wsgi_httpd-2.4.67.1.dev1 → mod_wsgi_httpd-2.4.68.2}/src/apxs/__init__.py +0 -0
- {mod_wsgi_httpd-2.4.67.1.dev1 → mod_wsgi_httpd-2.4.68.2}/src/apxs/__main__.py +0 -0
- {mod_wsgi_httpd-2.4.67.1.dev1 → mod_wsgi_httpd-2.4.68.2}/src/httpd/__init__.py +0 -0
- {mod_wsgi_httpd-2.4.67.1.dev1 → mod_wsgi_httpd-2.4.68.2}/upstream/apr-1.7.6.tar.gz +0 -0
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mod_wsgi-httpd
|
|
3
|
+
Version: 2.4.68.2
|
|
4
|
+
Summary: Installer for Apache httpd server.
|
|
5
|
+
Home-page: http://www.modwsgi.org/
|
|
6
|
+
Author: Graham Dumpleton
|
|
7
|
+
Author-email: Graham.Dumpleton@gmail.com
|
|
8
|
+
Maintainer: Graham Dumpleton
|
|
9
|
+
Maintainer-email: Graham.Dumpleton@gmail.com
|
|
10
|
+
License: Apache License, Version 2.0
|
|
11
|
+
Classifier: Development Status :: 6 - Mature
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Operating System :: MacOS :: MacOS X
|
|
14
|
+
Classifier: Operating System :: POSIX
|
|
15
|
+
Classifier: Operating System :: POSIX :: BSD
|
|
16
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
17
|
+
Classifier: Programming Language :: Python
|
|
18
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
25
|
+
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
|
|
26
|
+
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Server
|
|
27
|
+
License-File: LICENSE
|
|
28
|
+
Dynamic: author
|
|
29
|
+
Dynamic: author-email
|
|
30
|
+
Dynamic: classifier
|
|
31
|
+
Dynamic: description
|
|
32
|
+
Dynamic: home-page
|
|
33
|
+
Dynamic: license
|
|
34
|
+
Dynamic: license-file
|
|
35
|
+
Dynamic: maintainer
|
|
36
|
+
Dynamic: maintainer-email
|
|
37
|
+
Dynamic: summary
|
|
38
|
+
|
|
39
|
+
Overview
|
|
40
|
+
--------
|
|
41
|
+
|
|
42
|
+
The ``mod_wsgi-httpd`` package is a companion to
|
|
43
|
+
``mod_wsgi-standalone``. It downloads, compiles and installs a
|
|
44
|
+
private copy of the Apache HTTP Server inside your Python
|
|
45
|
+
environment, which ``mod_wsgi-standalone`` then builds ``mod_wsgi``
|
|
46
|
+
against and runs ``mod_wsgi-express`` on top of.
|
|
47
|
+
|
|
48
|
+
``mod_wsgi-standalone`` is the alternative to a regular
|
|
49
|
+
``pip install mod_wsgi`` for hosts that need their own Apache/httpd
|
|
50
|
+
install: either because no system Apache is available, or because
|
|
51
|
+
using the system Apache is not desirable. Typical cases are managed
|
|
52
|
+
hosts where you have no root access to install system packages, and
|
|
53
|
+
container base images that ship Python but not Apache or its
|
|
54
|
+
development headers.
|
|
55
|
+
|
|
56
|
+
You normally do not need to install ``mod_wsgi-httpd`` yourself;
|
|
57
|
+
``pip install mod_wsgi-standalone`` declares it as a dependency and
|
|
58
|
+
``pip`` will pull in a compatible version automatically.
|
|
59
|
+
|
|
60
|
+
**Note:** If your operating system's Apache and the matching Apache
|
|
61
|
+
development packages are available, prefer those over
|
|
62
|
+
``mod_wsgi-standalone``. Building ``mod_wsgi-httpd`` compiles
|
|
63
|
+
Apache, APR, APR-util and PCRE2 from source, which can take several
|
|
64
|
+
minutes; if ``pip install -v mod_wsgi-standalone`` looks like it is
|
|
65
|
+
hanging, it is almost certainly still compiling ``mod_wsgi-httpd``.
|
|
66
|
+
|
|
67
|
+
The version of ``mod_wsgi-httpd`` is the version of the Apache HTTP
|
|
68
|
+
Server it installs, followed by a build number. For example, version
|
|
69
|
+
``2.4.68.2`` is the second build of this package for Apache 2.4.68.
|
|
70
|
+
Each release of ``mod_wsgi-standalone`` requires one exact version of
|
|
71
|
+
``mod_wsgi-httpd``, so the Apache version you get is decided by the
|
|
72
|
+
``mod_wsgi-standalone`` release you install.
|
|
73
|
+
|
|
74
|
+
Listing mod_wsgi-httpd as a separate dependency
|
|
75
|
+
-----------------------------------------------
|
|
76
|
+
|
|
77
|
+
Use ``mod_wsgi-standalone`` in a ``requirements.txt`` file, or in the
|
|
78
|
+
dependencies of a ``pyproject.toml`` file. Listing ``mod_wsgi-httpd``
|
|
79
|
+
and ``mod_wsgi`` as two separate dependencies does not give the same
|
|
80
|
+
result, for two reasons:
|
|
81
|
+
|
|
82
|
+
* ``mod_wsgi`` is compiled against ``mod_wsgi-httpd``, so
|
|
83
|
+
``mod_wsgi-httpd`` has to be installed before ``mod_wsgi`` is built.
|
|
84
|
+
When both are named in the one ``pip install`` command, or the one
|
|
85
|
+
requirements file, ``pip`` builds ``mod_wsgi`` first.
|
|
86
|
+
|
|
87
|
+
* Packaging tools build each package in an isolated environment by
|
|
88
|
+
default, and a package installed in the target environment cannot be
|
|
89
|
+
seen from inside it.
|
|
90
|
+
|
|
91
|
+
The installation succeeds either way, which makes the problem easy to
|
|
92
|
+
miss. If the host has some other Apache installation, ``mod_wsgi`` is
|
|
93
|
+
built against that and ``mod_wsgi-httpd`` goes unused. Otherwise the
|
|
94
|
+
result can be a ``mod_wsgi-express`` which fails when started.
|
|
95
|
+
|
|
96
|
+
If you do need to list them separately, and you use `uv
|
|
97
|
+
<https://docs.astral.sh/uv/>`_, name ``mod_wsgi-httpd`` as an extra
|
|
98
|
+
build dependency of ``mod_wsgi`` in ``pyproject.toml``, using the same
|
|
99
|
+
version in both places::
|
|
100
|
+
|
|
101
|
+
[project]
|
|
102
|
+
dependencies = [
|
|
103
|
+
"mod_wsgi-httpd==2.4.68.2",
|
|
104
|
+
"mod_wsgi",
|
|
105
|
+
]
|
|
106
|
+
|
|
107
|
+
[tool.uv.extra-build-dependencies]
|
|
108
|
+
mod-wsgi = ["mod_wsgi-httpd==2.4.68.2"]
|
|
109
|
+
|
|
110
|
+
With ``pip`` it takes separate commands, the last with build isolation
|
|
111
|
+
disabled, which in turn needs ``setuptools`` to be installed already::
|
|
112
|
+
|
|
113
|
+
pip install setuptools
|
|
114
|
+
pip install mod_wsgi-httpd
|
|
115
|
+
pip install --no-build-isolation mod_wsgi
|
|
116
|
+
|
|
117
|
+
This cannot be expressed in a requirements file, as ``pip`` does not
|
|
118
|
+
accept the ``--no-build-isolation`` option there.
|
|
119
|
+
|
|
120
|
+
To check which Apache ``mod_wsgi-express`` is going to run::
|
|
121
|
+
|
|
122
|
+
python -c "from mod_wsgi.express import apxs_config; print(apxs_config.HTTPD)"
|
|
123
|
+
|
|
124
|
+
The path printed should be inside the ``mod_wsgi_packages/httpd``
|
|
125
|
+
directory of your Python environment.
|
|
126
|
+
|
|
127
|
+
Documentation
|
|
128
|
+
-------------
|
|
129
|
+
|
|
130
|
+
Documentation for ``mod_wsgi``, ``mod_wsgi-standalone`` and
|
|
131
|
+
``mod_wsgi-express`` lives at https://www.modwsgi.org/. Pages of
|
|
132
|
+
particular relevance to ``mod_wsgi-httpd`` users:
|
|
133
|
+
|
|
134
|
+
* `Installation from PyPI
|
|
135
|
+
<https://www.modwsgi.org/en/latest/user-guides/installation-from-pypi.html>`_
|
|
136
|
+
covers ``pip install mod_wsgi``, the ``mod_wsgi-express`` command,
|
|
137
|
+
and the companion ``mod_wsgi-standalone`` package.
|
|
138
|
+
* `mod_wsgi-express quickstart
|
|
139
|
+
<https://www.modwsgi.org/en/latest/user-guides/mod-wsgi-express-quickstart.html>`_
|
|
140
|
+
covers running ``mod_wsgi-express`` for a WSGI application in
|
|
141
|
+
production or in a container.
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
Overview
|
|
2
|
+
--------
|
|
3
|
+
|
|
4
|
+
The ``mod_wsgi-httpd`` package is a companion to
|
|
5
|
+
``mod_wsgi-standalone``. It downloads, compiles and installs a
|
|
6
|
+
private copy of the Apache HTTP Server inside your Python
|
|
7
|
+
environment, which ``mod_wsgi-standalone`` then builds ``mod_wsgi``
|
|
8
|
+
against and runs ``mod_wsgi-express`` on top of.
|
|
9
|
+
|
|
10
|
+
``mod_wsgi-standalone`` is the alternative to a regular
|
|
11
|
+
``pip install mod_wsgi`` for hosts that need their own Apache/httpd
|
|
12
|
+
install: either because no system Apache is available, or because
|
|
13
|
+
using the system Apache is not desirable. Typical cases are managed
|
|
14
|
+
hosts where you have no root access to install system packages, and
|
|
15
|
+
container base images that ship Python but not Apache or its
|
|
16
|
+
development headers.
|
|
17
|
+
|
|
18
|
+
You normally do not need to install ``mod_wsgi-httpd`` yourself;
|
|
19
|
+
``pip install mod_wsgi-standalone`` declares it as a dependency and
|
|
20
|
+
``pip`` will pull in a compatible version automatically.
|
|
21
|
+
|
|
22
|
+
**Note:** If your operating system's Apache and the matching Apache
|
|
23
|
+
development packages are available, prefer those over
|
|
24
|
+
``mod_wsgi-standalone``. Building ``mod_wsgi-httpd`` compiles
|
|
25
|
+
Apache, APR, APR-util and PCRE2 from source, which can take several
|
|
26
|
+
minutes; if ``pip install -v mod_wsgi-standalone`` looks like it is
|
|
27
|
+
hanging, it is almost certainly still compiling ``mod_wsgi-httpd``.
|
|
28
|
+
|
|
29
|
+
The version of ``mod_wsgi-httpd`` is the version of the Apache HTTP
|
|
30
|
+
Server it installs, followed by a build number. For example, version
|
|
31
|
+
``2.4.68.2`` is the second build of this package for Apache 2.4.68.
|
|
32
|
+
Each release of ``mod_wsgi-standalone`` requires one exact version of
|
|
33
|
+
``mod_wsgi-httpd``, so the Apache version you get is decided by the
|
|
34
|
+
``mod_wsgi-standalone`` release you install.
|
|
35
|
+
|
|
36
|
+
Listing mod_wsgi-httpd as a separate dependency
|
|
37
|
+
-----------------------------------------------
|
|
38
|
+
|
|
39
|
+
Use ``mod_wsgi-standalone`` in a ``requirements.txt`` file, or in the
|
|
40
|
+
dependencies of a ``pyproject.toml`` file. Listing ``mod_wsgi-httpd``
|
|
41
|
+
and ``mod_wsgi`` as two separate dependencies does not give the same
|
|
42
|
+
result, for two reasons:
|
|
43
|
+
|
|
44
|
+
* ``mod_wsgi`` is compiled against ``mod_wsgi-httpd``, so
|
|
45
|
+
``mod_wsgi-httpd`` has to be installed before ``mod_wsgi`` is built.
|
|
46
|
+
When both are named in the one ``pip install`` command, or the one
|
|
47
|
+
requirements file, ``pip`` builds ``mod_wsgi`` first.
|
|
48
|
+
|
|
49
|
+
* Packaging tools build each package in an isolated environment by
|
|
50
|
+
default, and a package installed in the target environment cannot be
|
|
51
|
+
seen from inside it.
|
|
52
|
+
|
|
53
|
+
The installation succeeds either way, which makes the problem easy to
|
|
54
|
+
miss. If the host has some other Apache installation, ``mod_wsgi`` is
|
|
55
|
+
built against that and ``mod_wsgi-httpd`` goes unused. Otherwise the
|
|
56
|
+
result can be a ``mod_wsgi-express`` which fails when started.
|
|
57
|
+
|
|
58
|
+
If you do need to list them separately, and you use `uv
|
|
59
|
+
<https://docs.astral.sh/uv/>`_, name ``mod_wsgi-httpd`` as an extra
|
|
60
|
+
build dependency of ``mod_wsgi`` in ``pyproject.toml``, using the same
|
|
61
|
+
version in both places::
|
|
62
|
+
|
|
63
|
+
[project]
|
|
64
|
+
dependencies = [
|
|
65
|
+
"mod_wsgi-httpd==2.4.68.2",
|
|
66
|
+
"mod_wsgi",
|
|
67
|
+
]
|
|
68
|
+
|
|
69
|
+
[tool.uv.extra-build-dependencies]
|
|
70
|
+
mod-wsgi = ["mod_wsgi-httpd==2.4.68.2"]
|
|
71
|
+
|
|
72
|
+
With ``pip`` it takes separate commands, the last with build isolation
|
|
73
|
+
disabled, which in turn needs ``setuptools`` to be installed already::
|
|
74
|
+
|
|
75
|
+
pip install setuptools
|
|
76
|
+
pip install mod_wsgi-httpd
|
|
77
|
+
pip install --no-build-isolation mod_wsgi
|
|
78
|
+
|
|
79
|
+
This cannot be expressed in a requirements file, as ``pip`` does not
|
|
80
|
+
accept the ``--no-build-isolation`` option there.
|
|
81
|
+
|
|
82
|
+
To check which Apache ``mod_wsgi-express`` is going to run::
|
|
83
|
+
|
|
84
|
+
python -c "from mod_wsgi.express import apxs_config; print(apxs_config.HTTPD)"
|
|
85
|
+
|
|
86
|
+
The path printed should be inside the ``mod_wsgi_packages/httpd``
|
|
87
|
+
directory of your Python environment.
|
|
88
|
+
|
|
89
|
+
Documentation
|
|
90
|
+
-------------
|
|
91
|
+
|
|
92
|
+
Documentation for ``mod_wsgi``, ``mod_wsgi-standalone`` and
|
|
93
|
+
``mod_wsgi-express`` lives at https://www.modwsgi.org/. Pages of
|
|
94
|
+
particular relevance to ``mod_wsgi-httpd`` users:
|
|
95
|
+
|
|
96
|
+
* `Installation from PyPI
|
|
97
|
+
<https://www.modwsgi.org/en/latest/user-guides/installation-from-pypi.html>`_
|
|
98
|
+
covers ``pip install mod_wsgi``, the ``mod_wsgi-express`` command,
|
|
99
|
+
and the companion ``mod_wsgi-standalone`` package.
|
|
100
|
+
* `mod_wsgi-express quickstart
|
|
101
|
+
<https://www.modwsgi.org/en/latest/user-guides/mod-wsgi-express-quickstart.html>`_
|
|
102
|
+
covers running ``mod_wsgi-express`` for a WSGI application in
|
|
103
|
+
production or in a container.
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mod_wsgi-httpd
|
|
3
|
+
Version: 2.4.68.2
|
|
4
|
+
Summary: Installer for Apache httpd server.
|
|
5
|
+
Home-page: http://www.modwsgi.org/
|
|
6
|
+
Author: Graham Dumpleton
|
|
7
|
+
Author-email: Graham.Dumpleton@gmail.com
|
|
8
|
+
Maintainer: Graham Dumpleton
|
|
9
|
+
Maintainer-email: Graham.Dumpleton@gmail.com
|
|
10
|
+
License: Apache License, Version 2.0
|
|
11
|
+
Classifier: Development Status :: 6 - Mature
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Operating System :: MacOS :: MacOS X
|
|
14
|
+
Classifier: Operating System :: POSIX
|
|
15
|
+
Classifier: Operating System :: POSIX :: BSD
|
|
16
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
17
|
+
Classifier: Programming Language :: Python
|
|
18
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
25
|
+
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
|
|
26
|
+
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Server
|
|
27
|
+
License-File: LICENSE
|
|
28
|
+
Dynamic: author
|
|
29
|
+
Dynamic: author-email
|
|
30
|
+
Dynamic: classifier
|
|
31
|
+
Dynamic: description
|
|
32
|
+
Dynamic: home-page
|
|
33
|
+
Dynamic: license
|
|
34
|
+
Dynamic: license-file
|
|
35
|
+
Dynamic: maintainer
|
|
36
|
+
Dynamic: maintainer-email
|
|
37
|
+
Dynamic: summary
|
|
38
|
+
|
|
39
|
+
Overview
|
|
40
|
+
--------
|
|
41
|
+
|
|
42
|
+
The ``mod_wsgi-httpd`` package is a companion to
|
|
43
|
+
``mod_wsgi-standalone``. It downloads, compiles and installs a
|
|
44
|
+
private copy of the Apache HTTP Server inside your Python
|
|
45
|
+
environment, which ``mod_wsgi-standalone`` then builds ``mod_wsgi``
|
|
46
|
+
against and runs ``mod_wsgi-express`` on top of.
|
|
47
|
+
|
|
48
|
+
``mod_wsgi-standalone`` is the alternative to a regular
|
|
49
|
+
``pip install mod_wsgi`` for hosts that need their own Apache/httpd
|
|
50
|
+
install: either because no system Apache is available, or because
|
|
51
|
+
using the system Apache is not desirable. Typical cases are managed
|
|
52
|
+
hosts where you have no root access to install system packages, and
|
|
53
|
+
container base images that ship Python but not Apache or its
|
|
54
|
+
development headers.
|
|
55
|
+
|
|
56
|
+
You normally do not need to install ``mod_wsgi-httpd`` yourself;
|
|
57
|
+
``pip install mod_wsgi-standalone`` declares it as a dependency and
|
|
58
|
+
``pip`` will pull in a compatible version automatically.
|
|
59
|
+
|
|
60
|
+
**Note:** If your operating system's Apache and the matching Apache
|
|
61
|
+
development packages are available, prefer those over
|
|
62
|
+
``mod_wsgi-standalone``. Building ``mod_wsgi-httpd`` compiles
|
|
63
|
+
Apache, APR, APR-util and PCRE2 from source, which can take several
|
|
64
|
+
minutes; if ``pip install -v mod_wsgi-standalone`` looks like it is
|
|
65
|
+
hanging, it is almost certainly still compiling ``mod_wsgi-httpd``.
|
|
66
|
+
|
|
67
|
+
The version of ``mod_wsgi-httpd`` is the version of the Apache HTTP
|
|
68
|
+
Server it installs, followed by a build number. For example, version
|
|
69
|
+
``2.4.68.2`` is the second build of this package for Apache 2.4.68.
|
|
70
|
+
Each release of ``mod_wsgi-standalone`` requires one exact version of
|
|
71
|
+
``mod_wsgi-httpd``, so the Apache version you get is decided by the
|
|
72
|
+
``mod_wsgi-standalone`` release you install.
|
|
73
|
+
|
|
74
|
+
Listing mod_wsgi-httpd as a separate dependency
|
|
75
|
+
-----------------------------------------------
|
|
76
|
+
|
|
77
|
+
Use ``mod_wsgi-standalone`` in a ``requirements.txt`` file, or in the
|
|
78
|
+
dependencies of a ``pyproject.toml`` file. Listing ``mod_wsgi-httpd``
|
|
79
|
+
and ``mod_wsgi`` as two separate dependencies does not give the same
|
|
80
|
+
result, for two reasons:
|
|
81
|
+
|
|
82
|
+
* ``mod_wsgi`` is compiled against ``mod_wsgi-httpd``, so
|
|
83
|
+
``mod_wsgi-httpd`` has to be installed before ``mod_wsgi`` is built.
|
|
84
|
+
When both are named in the one ``pip install`` command, or the one
|
|
85
|
+
requirements file, ``pip`` builds ``mod_wsgi`` first.
|
|
86
|
+
|
|
87
|
+
* Packaging tools build each package in an isolated environment by
|
|
88
|
+
default, and a package installed in the target environment cannot be
|
|
89
|
+
seen from inside it.
|
|
90
|
+
|
|
91
|
+
The installation succeeds either way, which makes the problem easy to
|
|
92
|
+
miss. If the host has some other Apache installation, ``mod_wsgi`` is
|
|
93
|
+
built against that and ``mod_wsgi-httpd`` goes unused. Otherwise the
|
|
94
|
+
result can be a ``mod_wsgi-express`` which fails when started.
|
|
95
|
+
|
|
96
|
+
If you do need to list them separately, and you use `uv
|
|
97
|
+
<https://docs.astral.sh/uv/>`_, name ``mod_wsgi-httpd`` as an extra
|
|
98
|
+
build dependency of ``mod_wsgi`` in ``pyproject.toml``, using the same
|
|
99
|
+
version in both places::
|
|
100
|
+
|
|
101
|
+
[project]
|
|
102
|
+
dependencies = [
|
|
103
|
+
"mod_wsgi-httpd==2.4.68.2",
|
|
104
|
+
"mod_wsgi",
|
|
105
|
+
]
|
|
106
|
+
|
|
107
|
+
[tool.uv.extra-build-dependencies]
|
|
108
|
+
mod-wsgi = ["mod_wsgi-httpd==2.4.68.2"]
|
|
109
|
+
|
|
110
|
+
With ``pip`` it takes separate commands, the last with build isolation
|
|
111
|
+
disabled, which in turn needs ``setuptools`` to be installed already::
|
|
112
|
+
|
|
113
|
+
pip install setuptools
|
|
114
|
+
pip install mod_wsgi-httpd
|
|
115
|
+
pip install --no-build-isolation mod_wsgi
|
|
116
|
+
|
|
117
|
+
This cannot be expressed in a requirements file, as ``pip`` does not
|
|
118
|
+
accept the ``--no-build-isolation`` option there.
|
|
119
|
+
|
|
120
|
+
To check which Apache ``mod_wsgi-express`` is going to run::
|
|
121
|
+
|
|
122
|
+
python -c "from mod_wsgi.express import apxs_config; print(apxs_config.HTTPD)"
|
|
123
|
+
|
|
124
|
+
The path printed should be inside the ``mod_wsgi_packages/httpd``
|
|
125
|
+
directory of your Python environment.
|
|
126
|
+
|
|
127
|
+
Documentation
|
|
128
|
+
-------------
|
|
129
|
+
|
|
130
|
+
Documentation for ``mod_wsgi``, ``mod_wsgi-standalone`` and
|
|
131
|
+
``mod_wsgi-express`` lives at https://www.modwsgi.org/. Pages of
|
|
132
|
+
particular relevance to ``mod_wsgi-httpd`` users:
|
|
133
|
+
|
|
134
|
+
* `Installation from PyPI
|
|
135
|
+
<https://www.modwsgi.org/en/latest/user-guides/installation-from-pypi.html>`_
|
|
136
|
+
covers ``pip install mod_wsgi``, the ``mod_wsgi-express`` command,
|
|
137
|
+
and the companion ``mod_wsgi-standalone`` package.
|
|
138
|
+
* `mod_wsgi-express quickstart
|
|
139
|
+
<https://www.modwsgi.org/en/latest/user-guides/mod-wsgi-express-quickstart.html>`_
|
|
140
|
+
covers running ``mod_wsgi-express`` for a WSGI application in
|
|
141
|
+
production or in a container.
|
{mod_wsgi_httpd-2.4.67.1.dev1 → mod_wsgi_httpd-2.4.68.2}/mod_wsgi_httpd.egg-info/SOURCES.txt
RENAMED
|
@@ -13,6 +13,6 @@ src/apxs/__init__.py
|
|
|
13
13
|
src/apxs/__main__.py
|
|
14
14
|
src/httpd/__init__.py
|
|
15
15
|
upstream/apr-1.7.6.tar.gz
|
|
16
|
-
upstream/apr-util-1.6.
|
|
17
|
-
upstream/httpd-2.4.
|
|
18
|
-
upstream/
|
|
16
|
+
upstream/apr-util-1.6.5.tar.gz
|
|
17
|
+
upstream/httpd-2.4.68.tar.gz
|
|
18
|
+
upstream/pcre2-10.48.tar.gz
|
|
@@ -21,8 +21,8 @@ def download_url(url):
|
|
|
21
21
|
ASF_URL = 'https://archive.apache.org/dist/'
|
|
22
22
|
|
|
23
23
|
APR_VERSION = '1.7.6'
|
|
24
|
-
APR_UTIL_VERSION = '1.6.
|
|
25
|
-
HTTPD_VERSION = '2.4.
|
|
24
|
+
APR_UTIL_VERSION = '1.6.5'
|
|
25
|
+
HTTPD_VERSION = '2.4.68'
|
|
26
26
|
|
|
27
27
|
APR_URL = ASF_URL + 'apr/apr-%s.tar.gz' % APR_VERSION
|
|
28
28
|
APR_UTIL_URL = ASF_URL + 'apr/apr-util-%s.tar.gz' % APR_UTIL_VERSION
|
|
@@ -32,15 +32,14 @@ download_url(APR_URL)
|
|
|
32
32
|
download_url(APR_UTIL_URL)
|
|
33
33
|
download_url(HTTPD_URL)
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
PCRE2_VERSION = '10.48'
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
PCRE_URL = 'https://ixpeering.dl.sourceforge.net/project/pcre/pcre/%s/pcre-%s.tar.gz' % (PCRE_VERSION, PCRE_VERSION)
|
|
37
|
+
PCRE2_URL = 'https://github.com/PCRE2Project/pcre2/releases/download/pcre2-%s/pcre2-%s.tar.gz' % (PCRE2_VERSION, PCRE2_VERSION)
|
|
39
38
|
|
|
40
|
-
download_url(
|
|
39
|
+
download_url(PCRE2_URL)
|
|
41
40
|
|
|
42
41
|
VERSIONS_HASH = ':'.join([APR_VERSION, APR_UTIL_VERSION,
|
|
43
|
-
|
|
42
|
+
PCRE2_VERSION, HTTPD_VERSION]).encode('UTF-8')
|
|
44
43
|
|
|
45
44
|
VERSIONS_HASH = hashlib.md5(VERSIONS_HASH).hexdigest()
|
|
46
45
|
|
|
@@ -79,16 +78,15 @@ if not os.path.isfile(VERSION_HASH_FILE):
|
|
|
79
78
|
if res:
|
|
80
79
|
raise RuntimeError('Failed to build APR-UTIL.')
|
|
81
80
|
|
|
82
|
-
res = os.system('rm -rf build/
|
|
83
|
-
'tar -x -v -C build -f upstream/
|
|
84
|
-
'cd build/
|
|
85
|
-
'./configure --prefix=%(builddir)s '
|
|
86
|
-
'--disable-cpp && '
|
|
81
|
+
res = os.system('rm -rf build/pcre2-%(version)s && '
|
|
82
|
+
'tar -x -v -C build -f upstream/pcre2-%(version)s.tar.gz && '
|
|
83
|
+
'cd build/pcre2-%(version)s && '
|
|
84
|
+
'./configure --prefix=%(builddir)s && '
|
|
87
85
|
'make && make install' % dict(builddir=builddir,
|
|
88
|
-
version=
|
|
86
|
+
version=PCRE2_VERSION))
|
|
89
87
|
|
|
90
88
|
if res:
|
|
91
|
-
raise RuntimeError('Failed to build
|
|
89
|
+
raise RuntimeError('Failed to build PCRE2.')
|
|
92
90
|
|
|
93
91
|
res = os.system('rm -rf build/httpd-%(version)s && '
|
|
94
92
|
'tar -x -v -C build -f upstream/httpd-%(version)s.tar.gz && '
|
|
@@ -97,7 +95,7 @@ if not os.path.isfile(VERSION_HASH_FILE):
|
|
|
97
95
|
'--enable-mpms-shared=all --enable-so --enable-rewrite '
|
|
98
96
|
'--with-apr=%(builddir)s/bin/apr-1-config '
|
|
99
97
|
'--with-apr-util=%(builddir)s/bin/apu-1-config '
|
|
100
|
-
'--with-pcre=%(builddir)s/bin/
|
|
98
|
+
'--with-pcre=%(builddir)s/bin/pcre2-config && '
|
|
101
99
|
'make && make install' % dict(builddir=builddir,
|
|
102
100
|
version=HTTPD_VERSION))
|
|
103
101
|
|
|
@@ -140,7 +138,7 @@ for root, dirs, files in os.walk('src/httpd', topdown=False):
|
|
|
140
138
|
long_description = open('README.rst').read()
|
|
141
139
|
|
|
142
140
|
setup(name = 'mod_wsgi-httpd',
|
|
143
|
-
version = '%s.
|
|
141
|
+
version = '%s.2' % HTTPD_VERSION,
|
|
144
142
|
description = 'Installer for Apache httpd server.',
|
|
145
143
|
long_description = long_description,
|
|
146
144
|
author = 'Graham Dumpleton',
|
|
@@ -166,6 +164,7 @@ setup(name = 'mod_wsgi-httpd',
|
|
|
166
164
|
'Programming Language :: Python :: 3.12',
|
|
167
165
|
'Programming Language :: Python :: 3.13',
|
|
168
166
|
'Programming Language :: Python :: 3.14',
|
|
167
|
+
'Programming Language :: Python :: 3.15',
|
|
169
168
|
'Topic :: Internet :: WWW/HTTP :: WSGI',
|
|
170
169
|
'Topic :: Internet :: WWW/HTTP :: WSGI :: Server'
|
|
171
170
|
],
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: mod_wsgi-httpd
|
|
3
|
-
Version: 2.4.67.1.dev1
|
|
4
|
-
Summary: Installer for Apache httpd server.
|
|
5
|
-
Home-page: http://www.modwsgi.org/
|
|
6
|
-
Author: Graham Dumpleton
|
|
7
|
-
Author-email: Graham.Dumpleton@gmail.com
|
|
8
|
-
Maintainer: Graham Dumpleton
|
|
9
|
-
Maintainer-email: Graham.Dumpleton@gmail.com
|
|
10
|
-
License: Apache License, Version 2.0
|
|
11
|
-
Classifier: Development Status :: 6 - Mature
|
|
12
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
-
Classifier: Operating System :: MacOS :: MacOS X
|
|
14
|
-
Classifier: Operating System :: POSIX
|
|
15
|
-
Classifier: Operating System :: POSIX :: BSD
|
|
16
|
-
Classifier: Operating System :: POSIX :: Linux
|
|
17
|
-
Classifier: Programming Language :: Python
|
|
18
|
-
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
23
|
-
Classifier: Programming Language :: Python :: 3.14
|
|
24
|
-
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
|
|
25
|
-
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Server
|
|
26
|
-
License-File: LICENSE
|
|
27
|
-
Dynamic: author
|
|
28
|
-
Dynamic: author-email
|
|
29
|
-
Dynamic: classifier
|
|
30
|
-
Dynamic: description
|
|
31
|
-
Dynamic: home-page
|
|
32
|
-
Dynamic: license
|
|
33
|
-
Dynamic: license-file
|
|
34
|
-
Dynamic: maintainer
|
|
35
|
-
Dynamic: maintainer-email
|
|
36
|
-
Dynamic: summary
|
|
37
|
-
|
|
38
|
-
Overview
|
|
39
|
-
--------
|
|
40
|
-
|
|
41
|
-
The ``mod_wsgi-httpd`` package is a companion package for mod_wsgi. It will
|
|
42
|
-
compile and install a copy of the Apache httpd server into your Python
|
|
43
|
-
installation. If this is done, when the ``mod_wsgi`` package is
|
|
44
|
-
subsequently installed, it will be compiled against the Apache httpd server
|
|
45
|
-
installed by this package. When ``mod_wsgi-express`` from the ``mod_wsgi``
|
|
46
|
-
package is then run, it will also use the same Apache httpd server.
|
|
47
|
-
|
|
48
|
-
This package therefore allows you to side step the fact that most Linux
|
|
49
|
-
distributions and MacOS X ship out of date versions of the Apache httpd
|
|
50
|
-
server, allowing you to use the very latest version. It also allows you to
|
|
51
|
-
install ``mod_wsgi-express`` where you don't control your operating system
|
|
52
|
-
and so don't have root access, and the Apache httpd server is not
|
|
53
|
-
installed, or its companion ``dev`` packages are not installed, which are a
|
|
54
|
-
prerequsite for being able to build mod_wsgi from source code.
|
|
55
|
-
|
|
56
|
-
**NOTE: Although this package may allow you to install a newer Apache
|
|
57
|
-
version, it is only really recommended that you use this package if you
|
|
58
|
-
have absolutely no other choice for getting the Apache httpd server
|
|
59
|
-
installed. Always use the Apache httpd server supplied with the operating
|
|
60
|
-
system if you can. Building this package if you do choose to do so, will
|
|
61
|
-
take some time. So if you you think the install is hanging, it is probably
|
|
62
|
-
still busy compiling everything.**
|
|
63
|
-
|
|
64
|
-
Installation
|
|
65
|
-
------------
|
|
66
|
-
|
|
67
|
-
To install the Apache httpd server::
|
|
68
|
-
|
|
69
|
-
pip install -v mod_wsgi-httpd
|
|
70
|
-
|
|
71
|
-
The ``-v`` option enables you to see the output as everything is being
|
|
72
|
-
compiled. This way you can better track that it is doing something and
|
|
73
|
-
isn't hanging.
|
|
74
|
-
|
|
75
|
-
To subsequently install the mod_wsgi package and mod_wsgi-express::
|
|
76
|
-
|
|
77
|
-
pip install mod_wsgi
|
|
78
|
-
|
|
79
|
-
Installation of each package needs to be done separately, you cannot list
|
|
80
|
-
both in a ``requirements.txt`` file because the ``mod_wsgi-httpd`` package
|
|
81
|
-
will not be installed before ``pip`` processes the ``mod_wsgi`` package.
|
|
82
|
-
As a result the installation of ``mod_wsgi`` may fail, or the system Apache
|
|
83
|
-
will still be used if available.
|
|
84
|
-
|
|
85
|
-
If you need to install packages using ``pip`` from a ``requirements.txt``
|
|
86
|
-
file, or other similar Python package installer, you should instead
|
|
87
|
-
install the ``mod_wsgi-standalone`` package. This is a special variant
|
|
88
|
-
of the ``mod_wsgi`` package that will ensure that ``mod_wsgi-httpd`` is
|
|
89
|
-
installed first. Ensure you have an up to date version of ``pip`` which
|
|
90
|
-
understands ``pyproject.toml`` files when using this option.
|
|
91
|
-
|
|
92
|
-
To run mod_wsgi-express::
|
|
93
|
-
|
|
94
|
-
mod_wsgi-express start-server
|
|
95
|
-
|
|
96
|
-
You can then access the server at::
|
|
97
|
-
|
|
98
|
-
http://localhost:8000/
|
|
99
|
-
|
|
100
|
-
For more help on mod_wsgi-express see the documentation for the mod_wsgi
|
|
101
|
-
package and/or run::
|
|
102
|
-
|
|
103
|
-
mod_wsgi-express start-server --help
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
Overview
|
|
2
|
-
--------
|
|
3
|
-
|
|
4
|
-
The ``mod_wsgi-httpd`` package is a companion package for mod_wsgi. It will
|
|
5
|
-
compile and install a copy of the Apache httpd server into your Python
|
|
6
|
-
installation. If this is done, when the ``mod_wsgi`` package is
|
|
7
|
-
subsequently installed, it will be compiled against the Apache httpd server
|
|
8
|
-
installed by this package. When ``mod_wsgi-express`` from the ``mod_wsgi``
|
|
9
|
-
package is then run, it will also use the same Apache httpd server.
|
|
10
|
-
|
|
11
|
-
This package therefore allows you to side step the fact that most Linux
|
|
12
|
-
distributions and MacOS X ship out of date versions of the Apache httpd
|
|
13
|
-
server, allowing you to use the very latest version. It also allows you to
|
|
14
|
-
install ``mod_wsgi-express`` where you don't control your operating system
|
|
15
|
-
and so don't have root access, and the Apache httpd server is not
|
|
16
|
-
installed, or its companion ``dev`` packages are not installed, which are a
|
|
17
|
-
prerequsite for being able to build mod_wsgi from source code.
|
|
18
|
-
|
|
19
|
-
**NOTE: Although this package may allow you to install a newer Apache
|
|
20
|
-
version, it is only really recommended that you use this package if you
|
|
21
|
-
have absolutely no other choice for getting the Apache httpd server
|
|
22
|
-
installed. Always use the Apache httpd server supplied with the operating
|
|
23
|
-
system if you can. Building this package if you do choose to do so, will
|
|
24
|
-
take some time. So if you you think the install is hanging, it is probably
|
|
25
|
-
still busy compiling everything.**
|
|
26
|
-
|
|
27
|
-
Installation
|
|
28
|
-
------------
|
|
29
|
-
|
|
30
|
-
To install the Apache httpd server::
|
|
31
|
-
|
|
32
|
-
pip install -v mod_wsgi-httpd
|
|
33
|
-
|
|
34
|
-
The ``-v`` option enables you to see the output as everything is being
|
|
35
|
-
compiled. This way you can better track that it is doing something and
|
|
36
|
-
isn't hanging.
|
|
37
|
-
|
|
38
|
-
To subsequently install the mod_wsgi package and mod_wsgi-express::
|
|
39
|
-
|
|
40
|
-
pip install mod_wsgi
|
|
41
|
-
|
|
42
|
-
Installation of each package needs to be done separately, you cannot list
|
|
43
|
-
both in a ``requirements.txt`` file because the ``mod_wsgi-httpd`` package
|
|
44
|
-
will not be installed before ``pip`` processes the ``mod_wsgi`` package.
|
|
45
|
-
As a result the installation of ``mod_wsgi`` may fail, or the system Apache
|
|
46
|
-
will still be used if available.
|
|
47
|
-
|
|
48
|
-
If you need to install packages using ``pip`` from a ``requirements.txt``
|
|
49
|
-
file, or other similar Python package installer, you should instead
|
|
50
|
-
install the ``mod_wsgi-standalone`` package. This is a special variant
|
|
51
|
-
of the ``mod_wsgi`` package that will ensure that ``mod_wsgi-httpd`` is
|
|
52
|
-
installed first. Ensure you have an up to date version of ``pip`` which
|
|
53
|
-
understands ``pyproject.toml`` files when using this option.
|
|
54
|
-
|
|
55
|
-
To run mod_wsgi-express::
|
|
56
|
-
|
|
57
|
-
mod_wsgi-express start-server
|
|
58
|
-
|
|
59
|
-
You can then access the server at::
|
|
60
|
-
|
|
61
|
-
http://localhost:8000/
|
|
62
|
-
|
|
63
|
-
For more help on mod_wsgi-express see the documentation for the mod_wsgi
|
|
64
|
-
package and/or run::
|
|
65
|
-
|
|
66
|
-
mod_wsgi-express start-server --help
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: mod_wsgi-httpd
|
|
3
|
-
Version: 2.4.67.1.dev1
|
|
4
|
-
Summary: Installer for Apache httpd server.
|
|
5
|
-
Home-page: http://www.modwsgi.org/
|
|
6
|
-
Author: Graham Dumpleton
|
|
7
|
-
Author-email: Graham.Dumpleton@gmail.com
|
|
8
|
-
Maintainer: Graham Dumpleton
|
|
9
|
-
Maintainer-email: Graham.Dumpleton@gmail.com
|
|
10
|
-
License: Apache License, Version 2.0
|
|
11
|
-
Classifier: Development Status :: 6 - Mature
|
|
12
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
-
Classifier: Operating System :: MacOS :: MacOS X
|
|
14
|
-
Classifier: Operating System :: POSIX
|
|
15
|
-
Classifier: Operating System :: POSIX :: BSD
|
|
16
|
-
Classifier: Operating System :: POSIX :: Linux
|
|
17
|
-
Classifier: Programming Language :: Python
|
|
18
|
-
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
23
|
-
Classifier: Programming Language :: Python :: 3.14
|
|
24
|
-
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
|
|
25
|
-
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Server
|
|
26
|
-
License-File: LICENSE
|
|
27
|
-
Dynamic: author
|
|
28
|
-
Dynamic: author-email
|
|
29
|
-
Dynamic: classifier
|
|
30
|
-
Dynamic: description
|
|
31
|
-
Dynamic: home-page
|
|
32
|
-
Dynamic: license
|
|
33
|
-
Dynamic: license-file
|
|
34
|
-
Dynamic: maintainer
|
|
35
|
-
Dynamic: maintainer-email
|
|
36
|
-
Dynamic: summary
|
|
37
|
-
|
|
38
|
-
Overview
|
|
39
|
-
--------
|
|
40
|
-
|
|
41
|
-
The ``mod_wsgi-httpd`` package is a companion package for mod_wsgi. It will
|
|
42
|
-
compile and install a copy of the Apache httpd server into your Python
|
|
43
|
-
installation. If this is done, when the ``mod_wsgi`` package is
|
|
44
|
-
subsequently installed, it will be compiled against the Apache httpd server
|
|
45
|
-
installed by this package. When ``mod_wsgi-express`` from the ``mod_wsgi``
|
|
46
|
-
package is then run, it will also use the same Apache httpd server.
|
|
47
|
-
|
|
48
|
-
This package therefore allows you to side step the fact that most Linux
|
|
49
|
-
distributions and MacOS X ship out of date versions of the Apache httpd
|
|
50
|
-
server, allowing you to use the very latest version. It also allows you to
|
|
51
|
-
install ``mod_wsgi-express`` where you don't control your operating system
|
|
52
|
-
and so don't have root access, and the Apache httpd server is not
|
|
53
|
-
installed, or its companion ``dev`` packages are not installed, which are a
|
|
54
|
-
prerequsite for being able to build mod_wsgi from source code.
|
|
55
|
-
|
|
56
|
-
**NOTE: Although this package may allow you to install a newer Apache
|
|
57
|
-
version, it is only really recommended that you use this package if you
|
|
58
|
-
have absolutely no other choice for getting the Apache httpd server
|
|
59
|
-
installed. Always use the Apache httpd server supplied with the operating
|
|
60
|
-
system if you can. Building this package if you do choose to do so, will
|
|
61
|
-
take some time. So if you you think the install is hanging, it is probably
|
|
62
|
-
still busy compiling everything.**
|
|
63
|
-
|
|
64
|
-
Installation
|
|
65
|
-
------------
|
|
66
|
-
|
|
67
|
-
To install the Apache httpd server::
|
|
68
|
-
|
|
69
|
-
pip install -v mod_wsgi-httpd
|
|
70
|
-
|
|
71
|
-
The ``-v`` option enables you to see the output as everything is being
|
|
72
|
-
compiled. This way you can better track that it is doing something and
|
|
73
|
-
isn't hanging.
|
|
74
|
-
|
|
75
|
-
To subsequently install the mod_wsgi package and mod_wsgi-express::
|
|
76
|
-
|
|
77
|
-
pip install mod_wsgi
|
|
78
|
-
|
|
79
|
-
Installation of each package needs to be done separately, you cannot list
|
|
80
|
-
both in a ``requirements.txt`` file because the ``mod_wsgi-httpd`` package
|
|
81
|
-
will not be installed before ``pip`` processes the ``mod_wsgi`` package.
|
|
82
|
-
As a result the installation of ``mod_wsgi`` may fail, or the system Apache
|
|
83
|
-
will still be used if available.
|
|
84
|
-
|
|
85
|
-
If you need to install packages using ``pip`` from a ``requirements.txt``
|
|
86
|
-
file, or other similar Python package installer, you should instead
|
|
87
|
-
install the ``mod_wsgi-standalone`` package. This is a special variant
|
|
88
|
-
of the ``mod_wsgi`` package that will ensure that ``mod_wsgi-httpd`` is
|
|
89
|
-
installed first. Ensure you have an up to date version of ``pip`` which
|
|
90
|
-
understands ``pyproject.toml`` files when using this option.
|
|
91
|
-
|
|
92
|
-
To run mod_wsgi-express::
|
|
93
|
-
|
|
94
|
-
mod_wsgi-express start-server
|
|
95
|
-
|
|
96
|
-
You can then access the server at::
|
|
97
|
-
|
|
98
|
-
http://localhost:8000/
|
|
99
|
-
|
|
100
|
-
For more help on mod_wsgi-express see the documentation for the mod_wsgi
|
|
101
|
-
package and/or run::
|
|
102
|
-
|
|
103
|
-
mod_wsgi-express start-server --help
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mod_wsgi_httpd-2.4.67.1.dev1 → mod_wsgi_httpd-2.4.68.2}/mod_wsgi_httpd.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{mod_wsgi_httpd-2.4.67.1.dev1 → mod_wsgi_httpd-2.4.68.2}/mod_wsgi_httpd.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|