-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy path__init__.pyi
More file actions
86 lines (78 loc) · 2.88 KB
/
__init__.pyi
File metadata and controls
86 lines (78 loc) · 2.88 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
import logging
import sys
from _typeshed import StrOrBytesPath
from collections.abc import Iterable, Sequence
from types import SimpleNamespace
from typing import Final
logger: logging.Logger
CORE_VENV_DEPS: Final[tuple[str, ...]]
class EnvBuilder:
system_site_packages: bool
clear: bool
symlinks: bool
upgrade: bool
with_pip: bool
prompt: str | None
if sys.version_info >= (3, 13):
def __init__(
self,
system_site_packages: bool = False,
clear: bool = False,
symlinks: bool = False,
upgrade: bool = False,
with_pip: bool = False,
prompt: str | None = None,
upgrade_deps: bool = False,
*,
scm_ignore_files: Iterable[str] = ...,
) -> None: ...
else:
def __init__(
self,
system_site_packages: bool = False,
clear: bool = False,
symlinks: bool = False,
upgrade: bool = False,
with_pip: bool = False,
prompt: str | None = None,
upgrade_deps: bool = False,
) -> None: ...
def create(self, env_dir: StrOrBytesPath) -> None: ...
def clear_directory(self, path: StrOrBytesPath) -> None: ... # undocumented
def ensure_directories(self, env_dir: StrOrBytesPath) -> SimpleNamespace: ...
def create_configuration(self, context: SimpleNamespace) -> None: ...
def symlink_or_copy(
self, src: StrOrBytesPath, dst: StrOrBytesPath, relative_symlinks_ok: bool = False
) -> None: ... # undocumented
def setup_python(self, context: SimpleNamespace) -> None: ...
def _setup_pip(self, context: SimpleNamespace) -> None: ... # undocumented
def setup_scripts(self, context: SimpleNamespace) -> None: ...
def post_setup(self, context: SimpleNamespace) -> None: ...
def replace_variables(self, text: str, context: SimpleNamespace) -> str: ... # undocumented
def install_scripts(self, context: SimpleNamespace, path: str) -> None: ...
def upgrade_dependencies(self, context: SimpleNamespace) -> None: ...
if sys.version_info >= (3, 13):
def create_git_ignore_file(self, context: SimpleNamespace) -> None: ...
if sys.version_info >= (3, 13):
def create(
env_dir: StrOrBytesPath,
system_site_packages: bool = False,
clear: bool = False,
symlinks: bool = False,
with_pip: bool = False,
prompt: str | None = None,
upgrade_deps: bool = False,
*,
scm_ignore_files: Iterable[str] = ...,
) -> None: ...
else:
def create(
env_dir: StrOrBytesPath,
system_site_packages: bool = False,
clear: bool = False,
symlinks: bool = False,
with_pip: bool = False,
prompt: str | None = None,
upgrade_deps: bool = False,
) -> None: ...
def main(args: Sequence[str] | None = None) -> None: ...