VaKeR CYBER ARMY
Logo of a company Server : Apache/2.4.41 (Ubuntu)
System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /usr/local/lib/python2.7/dist-packages/virtualenv/seed/wheels/embed/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/local/lib/python2.7/dist-packages/virtualenv/seed/wheels/embed/__init__.py
from __future__ import absolute_import, unicode_literals

from virtualenv.seed.wheels.util import Wheel
from virtualenv.util.path import Path

BUNDLE_FOLDER = Path(__file__).absolute().parent
BUNDLE_SUPPORT = {
    "3.10": {
        "pip": "pip-21.1.2-py3-none-any.whl",
        "setuptools": "setuptools-57.0.0-py3-none-any.whl",
        "wheel": "wheel-0.36.2-py2.py3-none-any.whl",
    },
    "3.9": {
        "pip": "pip-21.1.2-py3-none-any.whl",
        "setuptools": "setuptools-57.0.0-py3-none-any.whl",
        "wheel": "wheel-0.36.2-py2.py3-none-any.whl",
    },
    "3.8": {
        "pip": "pip-21.1.2-py3-none-any.whl",
        "setuptools": "setuptools-57.0.0-py3-none-any.whl",
        "wheel": "wheel-0.36.2-py2.py3-none-any.whl",
    },
    "3.7": {
        "pip": "pip-21.1.2-py3-none-any.whl",
        "setuptools": "setuptools-57.0.0-py3-none-any.whl",
        "wheel": "wheel-0.36.2-py2.py3-none-any.whl",
    },
    "3.6": {
        "pip": "pip-21.1.2-py3-none-any.whl",
        "setuptools": "setuptools-57.0.0-py3-none-any.whl",
        "wheel": "wheel-0.36.2-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.36.2-py2.py3-none-any.whl",
    },
    "3.4": {
        "pip": "pip-19.1.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",
    },
    "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.36.2-py2.py3-none-any.whl",
    },
}
MAX = "3.10"


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",
)

VaKeR 2022