Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/pip/_internal/models/scheme.py: 100%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

11 statements  

1""" 

2For types associated with installation schemes. 

3 

4For a general overview of available schemes and their context, see 

5https://docs.python.org/3/install/index.html#alternate-installation. 

6""" 

7 

8from dataclasses import dataclass 

9 

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

11 

12 

13@dataclass(frozen=True) 

14class Scheme: 

15 """A Scheme holds paths which are used as the base directories for 

16 artifacts associated with a Python package. 

17 """ 

18 

19 __slots__ = SCHEME_KEYS 

20 

21 platlib: str 

22 purelib: str 

23 headers: str 

24 scripts: str 

25 data: str