PHP 8.2.30
Preview: scheme.py Size: 778 B
/opt/alt/python37/lib/python3.7/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(object):
    """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,  # type: str
        purelib,  # type: str
        headers,  # type: str
        scripts,  # type: str
        data,  # type: str
    ):
        self.platlib = platlib
        self.purelib = purelib
        self.headers = headers
        self.scripts = scripts
        self.data = data

Directory Contents

Dirs: 1 × Files: 11

Name Size Perms Modified Actions
- drwxr-xr-x 2024-03-03 22:57:12
Edit Download
1.17 KB lrw-r--r-- 2023-11-13 21:31:06
Edit Download
6.74 KB lrw-r--r-- 2023-11-13 21:31:06
Edit Download
2.76 KB lrw-r--r-- 2023-11-13 21:31:06
Edit Download
1.13 KB lrw-r--r-- 2023-11-13 21:31:06
Edit Download
7.29 KB lrw-r--r-- 2023-11-13 21:31:06
Edit Download
778 B lrw-r--r-- 2023-11-13 21:31:06
Edit Download
4.64 KB lrw-r--r-- 2023-11-13 21:31:06
Edit Download
2.00 KB lrw-r--r-- 2023-11-13 21:31:06
Edit Download
3.94 KB lrw-r--r-- 2023-11-13 21:31:06
Edit Download
2.71 KB lrw-r--r-- 2023-11-13 21:31:06
Edit Download
63 B lrw-r--r-- 2023-11-13 21:31:06
Edit Download

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