| 1 |
"""Provide access to Python's configuration information. The specific |
| 2 |
configuration variables available depend heavily on the platform and |
| 3 |
configuration. The values may be retrieved using |
| 4 |
get_config_var(name), and the list of variables is available via |
| 5 |
get_config_vars().keys(). Additional convenience functions are also |
| 6 |
available. |
| 7 |
|
| 8 |
Written by: Fred L. Drake, Jr. |
| 9 |
Email: <[email protected]> |
| 10 |
""" |
| 11 |
|
| 12 |
import sys |
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
if '__pypy__' in sys.builtin_module_names: |
| 19 |
from distutils.sysconfig_pypy import * |
| 20 |
from distutils.sysconfig_pypy import _config_vars |
| 21 |
from distutils.sysconfig_pypy import _variable_rx |
| 22 |
else: |
| 23 |
from distutils.sysconfig_cpython import * |
| 24 |
from distutils.sysconfig_cpython import _config_vars |
| 25 |
from distutils.sysconfig_cpython import _variable_rx |