File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -54,3 +54,10 @@ Python interpreter doesn't actually log anything and will instead silently
5454fallback to using any Python installation it finds by seaching for
5555``python `` on the users ``PATH ``. This may not be the Python installation
5656or virtual environment you intended be used.
57+
58+ 2. The Apache configuration snippet generated as an example when running
59+ the ``install-module `` sub command of ``mod_wsgi-express `` to install the
60+ ``mod_wsgi.so `` into the Apache installation itself, will now output a
61+ ``WSGIPythonHome `` directive for the Python installation or virtual
62+ environment the mod_wsgi module was compiled against so that the correct
63+ Python runtime will be used.
Original file line number Diff line number Diff line change @@ -2003,6 +2003,7 @@ def cmd_install_module(params):
20032003 shutil .copyfile (where (), target )
20042004
20052005 print ('LoadModule wsgi_module %s' % target )
2006+ print ('WSGIPythonHome %s' % os .path .normpath (sys .prefix ))
20062007
20072008def cmd_module_location (params ):
20082009 formatter = optparse .IndentedHelpFormatter ()
You can’t perform that action at this time.
0 commit comments