PHP 8.2.30
Preview: scheme.py Size: 575 B
/opt/hc_python/lib/python3.12/site-packages/pip/_internal/models/scheme.py

"""
For types associated with installation schemes.

For a general overview of available schemes and their context, see
https://docs.python.org/3/install/index.html#alternate-installation.
"""

from dataclasses import dataclass

SCHEME_KEYS = ["platlib", "purelib", "headers", "scripts", "data"]


@dataclass(frozen=True)
class Scheme:
    """A Scheme holds paths which are used as the base directories for
    artifacts associated with a Python package.
    """

    __slots__ = SCHEME_KEYS

    platlib: str
    purelib: str
    headers: str
    scripts: str
    data: str

Directory Contents

Dirs: 1 × Files: 13

Name Size Perms Modified Actions
- drwxr-xr-x 2025-12-03 08:02:41
Edit Download
753 B lrw-r--r-- 2025-12-03 08:02:41
Edit Download
6.40 KB lrw-r--r-- 2025-12-03 08:02:41
Edit Download
2.41 KB lrw-r--r-- 2025-12-03 08:02:41
Edit Download
1.01 KB lrw-r--r-- 2025-12-03 08:02:41
Edit Download
2.77 KB lrw-r--r-- 2025-12-03 08:02:41
Edit Download
21.28 KB lrw-r--r-- 2025-12-03 08:02:41
Edit Download
6.07 KB lrw-r--r-- 2025-12-03 08:02:41
Edit Download
575 B lrw-r--r-- 2025-12-03 08:02:41
Edit Download
4.40 KB lrw-r--r-- 2025-12-03 08:02:41
Edit Download
1.97 KB lrw-r--r-- 2025-12-03 08:02:41
Edit Download
4.14 KB lrw-r--r-- 2025-12-03 08:02:41
Edit Download
2.85 KB lrw-r--r-- 2025-12-03 08:02:41
Edit Download
62 B lrw-r--r-- 2025-12-03 08:02:41
Edit Download

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