HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //opt/cloudlinux/venv/lib64/python3.11/site-packages/virtualenv/seed/wheels/embed/__init__.py
from pathlib import Path

from virtualenv.seed.wheels.util import Wheel

BUNDLE_FOLDER = Path(__file__).absolute().parent
BUNDLE_SUPPORT = {
    "3.12": {
        "pip": "pip-23.1-py3-none-any.whl",
        "setuptools": "setuptools-67.6.1-py3-none-any.whl",
        "wheel": "wheel-0.40.0-py3-none-any.whl",
    },
    "3.11": {
        "pip": "pip-23.1-py3-none-any.whl",
        "setuptools": "setuptools-67.6.1-py3-none-any.whl",
        "wheel": "wheel-0.40.0-py3-none-any.whl",
    },
    "3.10": {
        "pip": "pip-23.1-py3-none-any.whl",
        "setuptools": "setuptools-67.6.1-py3-none-any.whl",
        "wheel": "wheel-0.40.0-py3-none-any.whl",
    },
    "3.9": {
        "pip": "pip-23.1-py3-none-any.whl",
        "setuptools": "setuptools-67.6.1-py3-none-any.whl",
        "wheel": "wheel-0.40.0-py3-none-any.whl",
    },
    "3.8": {
        "pip": "pip-23.1-py3-none-any.whl",
        "setuptools": "setuptools-67.6.1-py3-none-any.whl",
        "wheel": "wheel-0.40.0-py3-none-any.whl",
    },
    "3.7": {
        "pip": "pip-23.1-py3-none-any.whl",
        "setuptools": "setuptools-67.6.1-py3-none-any.whl",
        "wheel": "wheel-0.40.0-py3-none-any.whl",
    },
    "3.6": {
        "pip": "pip-21.3.1-py3-none-any.whl",
        "setuptools": "setuptools-59.6.0-py3-none-any.whl",
        "wheel": "wheel-0.37.1-py2.py3-none-any.whl",
    },
    "3.5": {
        "pip": "pip-20.3.4-py2.py3-none-any.whl",
        "setuptools": "setuptools-50.3.2-py3-none-any.whl",
        "wheel": "wheel-0.37.1-py2.py3-none-any.whl",
    },
    "3.4": {
        "pip": "pip-18.1-py2.py3-none-any.whl",
        "setuptools": "setuptools-43.0.0-py2.py3-none-any.whl",
        "wheel": "wheel-0.33.6-py2.py3-none-any.whl",
    },
    "3.3": {
        "pip": "pip-10.0.1-py2.py3-none-any.whl",
        "setuptools": "setuptools-39.2.0-py2.py3-none-any.whl",
        "wheel": "wheel-0.29.0-py2.py3-none-any.whl",
    },
    "2.7": {
        "pip": "pip-20.3.4-py2.py3-none-any.whl",
        "setuptools": "setuptools-44.1.1-py2.py3-none-any.whl",
        "wheel": "wheel-0.37.1-py2.py3-none-any.whl",
    },
}
MAX = "3.12"


def get_embed_wheel(distribution, for_py_version):
    path = BUNDLE_FOLDER / (BUNDLE_SUPPORT.get(for_py_version, {}) or BUNDLE_SUPPORT[MAX]).get(distribution)
    return Wheel.from_path(path)


__all__ = [
    "get_embed_wheel",
    "BUNDLE_SUPPORT",
    "MAX",
    "BUNDLE_FOLDER",
]