import sys def _pythonlib_compat(): """ On Python 3.7 and earlier, distutils would include the Python library. See pypa/distutils#9. """ from distutils import sysconfig if not sysconfig.get_config_var('Py_ENABLED_SHARED'): return yield 'python{}.{}{}'.format( sys.hexversion >> 24, (sys.hexversion >> 16) & 0xFF, sysconfig.get_config_var('ABIFLAGS'), ) def compose(f1, f2): return lambda *args, **kwargs: f1(f2(*args, **kwargs)) pythonlib = ( compose(list, _pythonlib_compat) if sys.version_info < (3, 8) and sys.platform != 'darwin' and sys.platform[:3] != 'aix' else list )
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
__init__.py | File | 430 B | 0644 |
|
_framework_compat.py | File | 1.58 KB | 0644 |
|
bdist.py | File | 5.28 KB | 0644 |
|
bdist_dumb.py | File | 4.56 KB | 0644 |
|
bdist_rpm.py | File | 21.5 KB | 0644 |
|
build.py | File | 5.45 KB | 0644 |
|
build_clib.py | File | 7.5 KB | 0644 |
|
build_ext.py | File | 30.77 KB | 0644 |
|
build_py.py | File | 16.15 KB | 0644 |
|
build_scripts.py | File | 5.47 KB | 0644 |
|
check.py | File | 4.76 KB | 0644 |
|
clean.py | File | 2.53 KB | 0644 |
|
config.py | File | 12.77 KB | 0644 |
|
install.py | File | 29.45 KB | 0644 |
|
install_data.py | File | 2.7 KB | 0644 |
|
install_egg_info.py | File | 2.72 KB | 0644 |
|
install_headers.py | File | 1.15 KB | 0644 |
|
install_lib.py | File | 8.21 KB | 0644 |
|
install_scripts.py | File | 1.89 KB | 0644 |
|
py37compat.py | File | 672 B | 0644 |
|
register.py | File | 11.54 KB | 0644 |
|
sdist.py | File | 18.78 KB | 0644 |
|
upload.py | File | 7.32 KB | 0644 |
|