Tools/Demos
-----------
+- Issue #15458: python-config gets a new option --configdir to print the
+ $LIBPL value.
+
- Move importlib.test.benchmark to Tools/importbench.
- Issue #12605: The gdb hooks for debugging CPython (within Tools/gdb) have
import sysconfig
valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags',
- 'ldflags', 'extension-suffix', 'help', 'abiflags']
+ 'ldflags', 'extension-suffix', 'help', 'abiflags', 'configdir']
def exit_with_usage(code=1):
print("Usage: {0} [{1}]".format(
elif opt == '--abiflags':
print(sys.abiflags)
+
+ elif opt == '--configdir':
+ print(sysconfig.get_config_var('LIBPL'))