__all__ = ['get_config_vars', 'get_path']
try:
# Python 2.7 or >=3.2
from sysconfig import get_config_vars, get_path
except ImportError:
from distutils.sysconfig import get_config_vars, get_python_lib
def get_path(name):
if name not in ('platlib', 'purelib'):
raise ValueError("Name must be purelib or platlib")
return get_python_lib(name=='platlib')
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| __pycache__ | Folder | 0755 |
|
|
| command | Folder | 0755 |
|
|
| __init__.py | File | 3.24 KB | 0644 |
|
| archive_util.py | File | 6.45 KB | 0644 |
|
| compat.py | File | 2.5 KB | 0644 |
|
| depends.py | File | 6.08 KB | 0644 |
|
| dist.py | File | 31.79 KB | 0644 |
|
| extension.py | File | 1.37 KB | 0644 |
|
| lib2to3_ex.py | File | 1.95 KB | 0644 |
|
| package_index.py | File | 38.01 KB | 0644 |
|
| py26compat.py | File | 431 B | 0644 |
|
| py27compat.py | File | 306 B | 0644 |
|
| py31compat.py | File | 396 B | 0644 |
|
| sandbox.py | File | 9.76 KB | 0644 |
|
| script template (dev).py | File | 311 B | 0644 |
|
| script template.py | File | 163 B | 0644 |
|
| site-patch.py | File | 2.36 KB | 0644 |
|
| ssl_support.py | File | 7.48 KB | 0644 |
|
| svn_utils.py | File | 17.43 KB | 0644 |
|
| version.py | File | 20 B | 0644 |
|