a python wrapper around pex-bootstrapped uWSGI
-
uprev the right-most minor version in setup.py (the rest maps to the uwsgi version, e.g. '2.0.10.0' is uwsgi 2.0.10 release 0; '2.0.10.1' is uwsgi 2.0.10 release 1, etc)
-
make the 'build_pydist' target and set your target python interpreter (defaults to 2.7):
$ make build_pydist PYTHON=python2.6
-
rename the egg to a platform specific name, e.g.
$ mv -f pyuwsgi_pex-2.0.10.0-py2.6{,-linux-x86_64}.egg
-
add the egg to your distribution server
-
repeat for all permutations of python versions and platforms
-
Due to https://bugzilla.redhat.com/show_bug.cgi?id=483548#c4, you may need to apply the following include to uwsgi.h:334 if building on older centos5 machines:
#include <linux/types.h>
e.g.
#ifdef UWSGI_CAP #include <linux/types.h> #include <sys/capability.h> #endif