Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/pip/_internal/models/scheme.py: 44%
9 statements
« prev ^ index » next coverage.py v7.2.7, created at 2023-06-07 06:48 +0000
« prev ^ index » next coverage.py v7.2.7, created at 2023-06-07 06:48 +0000
1"""
2For types associated with installation schemes.
4For a general overview of available schemes and their context, see
5https://docs.python.org/3/install/index.html#alternate-installation.
6"""
9SCHEME_KEYS = ["platlib", "purelib", "headers", "scripts", "data"]
12class Scheme:
13 """A Scheme holds paths which are used as the base directories for
14 artifacts associated with a Python package.
15 """
17 __slots__ = SCHEME_KEYS
19 def __init__(
20 self,
21 platlib: str,
22 purelib: str,
23 headers: str,
24 scripts: str,
25 data: str,
26 ) -> None:
27 self.platlib = platlib
28 self.purelib = purelib
29 self.headers = headers
30 self.scripts = scripts
31 self.data = data