Created
April 13, 2021 13:23
-
-
Save mzpqnxow/ba75a188bbaf29cf9a38f7adc40f9e67 to your computer and use it in GitHub Desktop.
Print the the variables associated with a Python build (configure params/autoconf params, basically)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Call with /path/to/python python-config.py to check a specific version of Python, obviously | |
import sysconfig | |
for k, v in sysconfig.get_config_vars().items(): | |
print('%s = %s' % (k, v)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment