PHP 8.2.30
Preview: scheme.py Size: 738 B
/opt/alt/python312/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.
"""


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


class Scheme:
    """A Scheme holds paths which are used as the base directories for
    artifacts associated with a Python package.
    """

    __slots__ = SCHEME_KEYS

    def __init__(
        self,
        platlib: str,
        purelib: str,
        headers: str,
        scripts: str,
        data: str,
    ) -> None:
        self.platlib = platlib
        self.purelib = purelib
        self.headers = headers
        self.scripts = scripts
        self.data = data

Directory Contents

Dirs: 1 × Files: 12

Name Size Perms Modified Actions
- drwxr-xr-x 2026-02-10 08:09:14
Edit Download
990 B lrw-r--r-- 2026-01-08 19:19:46
Edit Download
6.77 KB lrw-r--r-- 2026-01-08 19:19:46
Edit Download
2.46 KB lrw-r--r-- 2026-01-08 19:19:46
Edit Download
1.01 KB lrw-r--r-- 2026-01-08 19:19:46
Edit Download
2.75 KB lrw-r--r-- 2026-01-08 19:19:46
Edit Download
20.33 KB lrw-r--r-- 2026-01-08 19:19:46
Edit Download
738 B lrw-r--r-- 2026-01-08 19:19:46
Edit Download
4.53 KB lrw-r--r-- 2026-01-08 19:19:46
Edit Download
1.86 KB lrw-r--r-- 2026-01-08 19:19:46
Edit Download
4.17 KB lrw-r--r-- 2026-01-08 19:19:46
Edit Download
3.52 KB lrw-r--r-- 2026-01-08 19:19:46
Edit Download
63 B lrw-r--r-- 2026-01-08 19:19:46
Edit Download

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