$73 GRAYBYTE WORDPRESS FILE MANAGER $84

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.23
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/python311/lib/python3.11/site-packages/setuptools/_distutils/command/

HOME
Current File : /opt/alt/python311/lib/python3.11/site-packages/setuptools/_distutils/command//_framework_compat.py
"""
Backward compatibility for homebrew builds on macOS.
"""


import sys
import os
import functools
import subprocess
import sysconfig


@functools.lru_cache()
def enabled():
    """
    Only enabled for Python 3.9 framework homebrew builds
    except ensurepip and venv.
    """
    PY39 = (3, 9) < sys.version_info < (3, 10)
    framework = sys.platform == 'darwin' and sys._framework
    homebrew = "Cellar" in sysconfig.get_config_var('projectbase')
    venv = sys.prefix != sys.base_prefix
    ensurepip = os.environ.get("ENSUREPIP_OPTIONS")
    return PY39 and framework and homebrew and not venv and not ensurepip


schemes = dict(
    osx_framework_library=dict(
        stdlib='{installed_base}/{platlibdir}/python{py_version_short}',
        platstdlib='{platbase}/{platlibdir}/python{py_version_short}',
        purelib='{homebrew_prefix}/lib/python{py_version_short}/site-packages',
        platlib='{homebrew_prefix}/{platlibdir}/python{py_version_short}/site-packages',
        include='{installed_base}/include/python{py_version_short}{abiflags}',
        platinclude='{installed_platbase}/include/python{py_version_short}{abiflags}',
        scripts='{homebrew_prefix}/bin',
        data='{homebrew_prefix}',
    )
)


@functools.lru_cache()
def vars():
    if not enabled():
        return {}
    homebrew_prefix = subprocess.check_output(['brew', '--prefix'], text=True).strip()
    return locals()


def scheme(name):
    """
    Override the selected scheme for posix_prefix.
    """
    if not enabled() or not name.endswith('_prefix'):
        return name
    return 'osx_framework_library'


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.48 PM
root / linksafe
0755
__pycache__
--
3 Mar 2024 10.48 PM
root / linksafe
0755
__init__.py
0.42 KB
13 Nov 2023 10.03 PM
root / linksafe
0644
_framework_compat.py
1.576 KB
13 Nov 2023 10.03 PM
root / linksafe
0644
bdist.py
5.282 KB
13 Nov 2023 10.03 PM
root / linksafe
0644
bdist_dumb.py
4.557 KB
13 Nov 2023 10.03 PM
root / linksafe
0644
bdist_rpm.py
21.5 KB
13 Nov 2023 10.03 PM
root / linksafe
0644
build.py
5.454 KB
13 Nov 2023 10.03 PM
root / linksafe
0644
build_clib.py
7.513 KB
13 Nov 2023 10.03 PM
root / linksafe
0644
build_ext.py
30.775 KB
13 Nov 2023 10.03 PM
root / linksafe
0644
build_py.py
16.156 KB
13 Nov 2023 10.03 PM
root / linksafe
0644
build_scripts.py
5.474 KB
13 Nov 2023 10.03 PM
root / linksafe
0644
check.py
4.758 KB
13 Nov 2023 10.03 PM
root / linksafe
0644
clean.py
2.534 KB
13 Nov 2023 10.03 PM
root / linksafe
0644
config.py
12.771 KB
13 Nov 2023 10.03 PM
root / linksafe
0644
install.py
29.458 KB
13 Nov 2023 10.03 PM
root / linksafe
0644
install_data.py
2.698 KB
13 Nov 2023 10.03 PM
root / linksafe
0644
install_egg_info.py
2.723 KB
13 Nov 2023 10.03 PM
root / linksafe
0644
install_headers.py
1.153 KB
13 Nov 2023 10.03 PM
root / linksafe
0644
install_lib.py
8.213 KB
13 Nov 2023 10.03 PM
root / linksafe
0644
install_scripts.py
1.888 KB
13 Nov 2023 10.03 PM
root / linksafe
0644
py37compat.py
0.656 KB
13 Nov 2023 10.03 PM
root / linksafe
0644
register.py
11.541 KB
13 Nov 2023 10.03 PM
root / linksafe
0644
sdist.py
18.746 KB
13 Nov 2023 10.03 PM
root / linksafe
0644
upload.py
7.316 KB
13 Nov 2023 10.03 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF