-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path__init__.py
More file actions
30 lines (25 loc) · 808 Bytes
/
__init__.py
File metadata and controls
30 lines (25 loc) · 808 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
"""Self-contained Python interpreter discovery."""
from __future__ import annotations
from importlib.metadata import version
from ._cache import ContentStore, DiskCache, PyInfoCache
from ._discovery import get_interpreter, iter_interpreters
from ._py_info import KNOWN_ARCHITECTURES, PythonInfo, normalize_isa
from ._py_spec import KNOWN_IMPLEMENTATIONS, PythonSpec
from ._specifier import SimpleSpecifier, SimpleSpecifierSet, SimpleVersion
__version__ = version("python-discovery")
__all__ = [
"KNOWN_ARCHITECTURES",
"KNOWN_IMPLEMENTATIONS",
"ContentStore",
"DiskCache",
"PyInfoCache",
"PythonInfo",
"PythonSpec",
"SimpleSpecifier",
"SimpleSpecifierSet",
"SimpleVersion",
"__version__",
"get_interpreter",
"iter_interpreters",
"normalize_isa",
]