PHP 8.3.31
Preview: scheme.py Size: 558 B
//opt/hc_python/lib64/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, slots=True)
class Scheme:
    """A Scheme holds paths which are used as the base directories for
    artifacts associated with a Python package.
    """

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

Directory Contents

Dirs: 1 × Files: 13

Name Size Perms Modified Actions
- drwxr-xr-x 2026-06-11 06:30:21
Edit Download
720 B lrw-r--r-- 2026-06-11 06:30:20
Edit Download
944 B lrw-r--r-- 2026-06-11 06:30:20
Edit Download
2.41 KB lrw-r--r-- 2026-06-11 06:30:20
Edit Download
1.01 KB lrw-r--r-- 2026-06-11 06:30:20
Edit Download
2.78 KB lrw-r--r-- 2026-06-11 06:30:20
Edit Download
21.48 KB lrw-r--r-- 2026-06-11 06:30:20
Edit Download
3.29 KB lrw-r--r-- 2026-06-11 06:30:20
Edit Download
558 B lrw-r--r-- 2026-06-11 06:30:20
Edit Download
4.36 KB lrw-r--r-- 2026-06-11 06:30:20
Edit Download
1.47 KB lrw-r--r-- 2026-06-11 06:30:20
Edit Download
4.14 KB lrw-r--r-- 2026-06-11 06:30:20
Edit Download
2.85 KB lrw-r--r-- 2026-06-11 06:30:20
Edit Download
62 B lrw-r--r-- 2026-06-11 06:30:20
Edit Download

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