I want to build python_plugin for uwsgi from my custom python installation under directory /opt/python36. How can I set the path to that python during build time? I run command bellow, but the plugin is assembled with Python 2.7 that is shipped with OS Cent 7.
PYTHON=python3.6; /usr/sbin/uwsgi --build-plugin
"/usr/src/uwsgi/2.0.15/plugins/python/ python36"
Just cd
into desired directory:
cd /opt/python36 && uwsgi --build-plugin "/usr/src/uwsgi/plugins/python python36"