PHP 8.2.30
Preview: __init__.py Size: 2.29 KB
//opt/alt/python37/lib/python3.7/site-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.11": {
        "pip": "pip-21.3.1-py3-none-any.whl",
        "setuptools": "setuptools-60.2.0-py3-none-any.whl",
        "wheel": "wheel-0.37.1-py2.py3-none-any.whl",
    },
    "3.10": {
        "pip": "pip-21.3.1-py3-none-any.whl",
        "setuptools": "setuptools-60.2.0-py3-none-any.whl",
        "wheel": "wheel-0.37.1-py2.py3-none-any.whl",
    },
    "3.9": {
        "pip": "pip-21.3.1-py3-none-any.whl",
        "setuptools": "setuptools-60.2.0-py3-none-any.whl",
        "wheel": "wheel-0.37.1-py2.py3-none-any.whl",
    },
    "3.8": {
        "pip": "pip-21.3.1-py3-none-any.whl",
        "setuptools": "setuptools-60.2.0-py3-none-any.whl",
        "wheel": "wheel-0.37.1-py2.py3-none-any.whl",
    },
    "3.7": {
        "pip": "pip-21.3.1-py3-none-any.whl",
        "setuptools": "setuptools-60.2.0-py3-none-any.whl",
        "wheel": "wheel-0.37.1-py2.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.11"


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

Directory Contents

Dirs: 1 × Files: 14

Name Size Perms Modified Actions
- drwxr-xr-x 2024-03-03 22:53:22
Edit Download
1.25 MB lrw-r--r-- 2022-05-26 12:12:32
Edit Download
1.26 MB lrw-r--r-- 2022-05-26 12:12:32
Edit Download
1.45 MB lrw-r--r-- 2022-01-02 15:54:28
Edit Download
1.64 MB lrw-r--r-- 2022-01-02 15:54:28
Edit Download
554.25 KB lrw-r--r-- 2022-05-26 12:12:32
Edit Download
569.56 KB lrw-r--r-- 2022-05-26 12:12:32
Edit Download
569.82 KB lrw-r--r-- 2022-01-02 15:54:28
Edit Download
766.79 KB lrw-r--r-- 2022-01-02 15:54:28
Edit Download
930.27 KB lrw-r--r-- 2022-01-02 15:54:28
Edit Download
930.73 KB lrw-r--r-- 2022-01-02 15:54:28
Edit Download
65.31 KB lrw-r--r-- 2022-05-26 12:12:32
Edit Download
21.05 KB lrw-r--r-- 2022-05-26 12:12:32
Edit Download
34.47 KB lrw-r--r-- 2022-01-02 15:54:28
Edit Download
2.29 KB lrw-r--r-- 2022-05-26 12:12:32
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).