massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / setuptools / setuptools / command / easy_install.pyi
1 from typing import Any, List
2
3 from pkg_resources import Environment
4 from setuptools import Command, SetuptoolsDeprecationWarning
5
6 def samefile(p1, p2): ...
7
8 class easy_install(Command):
9     description: str
10     command_consumes_arguments: bool
11     user_options: Any
12     boolean_options: Any
13     negative_opt: Any
14     create_index: Any
15     user: int
16     zip_ok: Any
17     install_dir: Any
18     index_url: Any
19     find_links: Any
20     build_directory: Any
21     args: Any
22     optimize: Any
23     upgrade: Any
24     editable: Any
25     root: Any
26     version: Any
27     install_purelib: Any
28     install_platlib: Any
29     install_headers: Any
30     install_lib: Any
31     install_scripts: Any
32     install_data: Any
33     install_base: Any
34     install_platbase: Any
35     install_userbase: Any
36     install_usersite: Any
37     no_find_links: Any
38     package_index: Any
39     pth_file: Any
40     site_dirs: Any
41     installed_projects: Any
42     verbose: Any
43     def initialize_options(self) -> None: ...
44     def delete_blockers(self, blockers) -> None: ...
45     config_vars: Any
46     script_dir: Any
47     all_site_dirs: Any
48     shadow_path: Any
49     local_index: Any
50     outputs: Any
51     def finalize_options(self) -> None: ...
52     def expand_basedirs(self) -> None: ...
53     def expand_dirs(self) -> None: ...
54     def run(self, show_deprecation: bool = ...) -> None: ...
55     def pseudo_tempname(self): ...
56     def warn_deprecated_options(self) -> None: ...
57     def check_site_dir(self) -> None: ...
58     def cant_write_to_target(self) -> None: ...
59     def check_pth_processing(self): ...
60     def install_egg_scripts(self, dist) -> None: ...
61     def add_output(self, path) -> None: ...
62     def not_editable(self, spec) -> None: ...
63     def check_editable(self, spec) -> None: ...
64     def easy_install(self, spec, deps: bool = ...): ...
65     def install_item(self, spec, download, tmpdir, deps, install_needed: bool = ...): ...
66     def select_scheme(self, name) -> None: ...
67     def process_distribution(self, requirement, dist, deps: bool = ..., *info) -> None: ...
68     def should_unzip(self, dist): ...
69     def maybe_move(self, spec, dist_filename, setup_base): ...
70     def install_wrapper_scripts(self, dist) -> None: ...
71     def install_script(self, dist, script_name, script_text, dev_path: Any | None = ...) -> None: ...
72     def write_script(self, script_name, contents, mode: str = ..., blockers=...) -> None: ...
73     def install_eggs(self, spec, dist_filename, tmpdir): ...
74     def egg_distribution(self, egg_path): ...
75     def install_egg(self, egg_path, tmpdir): ...
76     def install_exe(self, dist_filename, tmpdir): ...
77     def exe_to_egg(self, dist_filename, egg_tmp): ...
78     def install_wheel(self, wheel_path, tmpdir): ...
79     def installation_report(self, req, dist, what: str = ...): ...
80     def report_editable(self, spec, setup_script): ...
81     def run_setup(self, setup_script, setup_base, args) -> None: ...
82     def build_and_install(self, setup_script, setup_base): ...
83     def update_pth(self, dist) -> None: ...
84     def unpack_progress(self, src, dst): ...
85     def unpack_and_compile(self, egg_path, destination): ...
86     def byte_compile(self, to_compile) -> None: ...
87     def create_home_path(self) -> None: ...
88     INSTALL_SCHEMES: Any
89     DEFAULT_SCHEME: Any
90
91 def extract_wininst_cfg(dist_filename): ...
92 def get_exe_prefixes(exe_filename): ...
93
94 class PthDistributions(Environment):
95     dirty: bool
96     filename: Any
97     sitedirs: Any
98     basedir: Any
99     def __init__(self, filename, sitedirs=...) -> None: ...
100     def save(self) -> None: ...
101     def add(self, dist) -> None: ...
102     def remove(self, dist) -> None: ...
103     def make_relative(self, path): ...
104
105 class RewritePthDistributions(PthDistributions):
106     prelude: Any
107     postlude: Any
108
109 class CommandSpec(List[str]):
110     options: Any
111     split_args: Any
112     @classmethod
113     def best(cls): ...
114     @classmethod
115     def from_param(cls, param): ...
116     @classmethod
117     def from_environment(cls): ...
118     @classmethod
119     def from_string(cls, string): ...
120     def install_options(self, script_text) -> None: ...
121     def as_header(self): ...
122
123 class WindowsCommandSpec(CommandSpec):
124     split_args: Any
125
126 class ScriptWriter:
127     template: Any
128     command_spec_class: Any
129     @classmethod
130     def get_script_args(cls, dist, executable: Any | None = ..., wininst: bool = ...): ...
131     @classmethod
132     def get_script_header(cls, script_text, executable: Any | None = ..., wininst: bool = ...): ...
133     @classmethod
134     def get_args(cls, dist, header: Any | None = ...) -> None: ...
135     @classmethod
136     def get_writer(cls, force_windows): ...
137     @classmethod
138     def best(cls): ...
139     @classmethod
140     def get_header(cls, script_text: str = ..., executable: Any | None = ...): ...
141
142 class WindowsScriptWriter(ScriptWriter):
143     command_spec_class: Any
144     @classmethod
145     def get_writer(cls): ...
146     @classmethod
147     def best(cls): ...
148
149 class WindowsExecutableLauncherWriter(WindowsScriptWriter): ...
150 class EasyInstallDeprecationWarning(SetuptoolsDeprecationWarning): ...