Reputation: 3235
I remember there is a command can show under which option a specific python was build, but I forget it QAQ
the option I mean is like this:
when compile python from source, we use:
./configure --prefix=/a/path/ --cflags=something
Upvotes: 2
Views: 66
Reputation: 3235
python -c "import sysconfig; print sysconfig.get_config_var('CONFIG_ARGS')"
This is the answer~
Upvotes: 1