403Webshell
Server IP : 66.29.132.122  /  Your IP : 3.148.104.191
Web Server : LiteSpeed
System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : admazpex ( 531)
PHP Version : 7.2.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/proc/self/root/proc/thread-self/root/opt/hc_python/lib64/python3.8/site-packages/virtualenv/seed/wheels/embed/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/proc/self/root/proc/thread-self/root/opt/hc_python/lib64/python3.8/site-packages/virtualenv/seed/wheels/embed//__init__.py
from __future__ import annotations

from pathlib import Path

from virtualenv.seed.wheels.util import Wheel

BUNDLE_FOLDER = Path(__file__).absolute().parent
BUNDLE_SUPPORT = {
    "3.7": {
        "pip": "pip-24.0-py3-none-any.whl",
        "setuptools": "setuptools-68.0.0-py3-none-any.whl",
        "wheel": "wheel-0.42.0-py3-none-any.whl",
    },
    "3.8": {
        "pip": "pip-24.0-py3-none-any.whl",
        "setuptools": "setuptools-69.1.0-py3-none-any.whl",
        "wheel": "wheel-0.42.0-py3-none-any.whl",
    },
    "3.9": {
        "pip": "pip-24.0-py3-none-any.whl",
        "setuptools": "setuptools-69.1.0-py3-none-any.whl",
        "wheel": "wheel-0.42.0-py3-none-any.whl",
    },
    "3.10": {
        "pip": "pip-24.0-py3-none-any.whl",
        "setuptools": "setuptools-69.1.0-py3-none-any.whl",
        "wheel": "wheel-0.42.0-py3-none-any.whl",
    },
    "3.11": {
        "pip": "pip-24.0-py3-none-any.whl",
        "setuptools": "setuptools-69.1.0-py3-none-any.whl",
        "wheel": "wheel-0.42.0-py3-none-any.whl",
    },
    "3.12": {
        "pip": "pip-24.0-py3-none-any.whl",
        "setuptools": "setuptools-69.1.0-py3-none-any.whl",
        "wheel": "wheel-0.42.0-py3-none-any.whl",
    },
    "3.13": {
        "pip": "pip-24.0-py3-none-any.whl",
        "setuptools": "setuptools-69.1.0-py3-none-any.whl",
        "wheel": "wheel-0.42.0-py3-none-any.whl",
    },
}
MAX = "3.7"


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__ = [
    "BUNDLE_FOLDER",
    "BUNDLE_SUPPORT",
    "MAX",
    "get_embed_wheel",
]

Youez - 2016 - github.com/yon3zu
LinuXploit