Knowledge base dedicated to Linux and applied mathematics.
Home > Linux > Tip of the day > Find list of options that python was compiled with
All the versions of this article: <English> <français>
To find list of options that python was compiled with
[user@host]# python -c "import sysconfig; print sysconfig.get_config_var('CONFIG_ARGS')"
'--prefix=/usr/local/python-2.7.5' '--enable-shared' '--disable-static' 'LDFLAGS=-Wl,-rpath,/usr/local/python/lib'