How to check if Python3 was built with '--enable-shared'?
homebrew, macos, mod-wsgi, python-3.x
Solution
From the python repl:
import sysconfig
sysconfig.get_config_vars('Py_ENABLE_SHARED')
Problem
Environment: - Mac OS X 10.8.5 - Apache 2.2.26 - Homebrew Python 3.3.3 Problem: I am trying to install mod_wsgi but first need to determine if Python was configured and compiled with the '--enable-shared' option. Questions: - How can I determine if Homebrew installed Python with the '--enable-shared' option? - If it was not installed, what is the correct way to install it? Thank you!