diff options
| author | Alexandru Ardelean <ardeleanalex@gmail.com> | 2019-08-12 10:14:16 +0300 |
|---|---|---|
| committer | Alexandru Ardelean <ardeleanalex@gmail.com> | 2019-09-20 14:11:08 +0300 |
| commit | 5f9ea76e7a00bb2851204903521d053b76772f4d (patch) | |
| tree | 996590f357cd6ed60963de620fd6c39b804851b4 /lang/python/python3 | |
| parent | 721642908c2bc2f16ff371bdd33e4df02813318c (diff) | |
gunicorn: convert to Python packaging format + add Python3 variant
And splitting the gunicorn[3] binary/executable away from the
python[3]-gunicorn libraries. This was inspired from Debian packaging.
The gunicorn[3] binaries require the new `python[3]-pkg-resources`
libraries to run, which add ~1.1 MB on the [ram]disk when uncompressed.
For the Python2 variant, the `_gaiohttp.py` is dropped as it fails to
compile, so it would likely be unusable anyway:
```
File "/usr/lib/python2.7/site-packages/gunicorn/workers/_gaiohttp.py", line 84
yield from self.wsgi.close()
^
SyntaxError: invalid syntax
```
People around the web recommend this as well:
https://stackoverflow.com/questions/25611140/syntax-error-installing-gunicorn
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803170
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803202
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'lang/python/python3')
0 files changed, 0 insertions, 0 deletions
