Lines Matching +full:self +full:- +full:refresh
2 From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks>
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Add a new --executable option to distribute so that we can
12 [Thomas: refresh for setuptools 5.8.]
13 [Jörg: refresh for setuptools 18.7.1]
15 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
16 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
17 Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
18 ---
23 diff --git a/setuptools/command/install.py b/setuptools/command/install.py
25 --- a/setuptools/command/install.py
27 @@ -16,6 +16,7 @@ class install(orig.install):
32 ('old-and-unmanageable', None, "Try not to use this!"),
33 ('single-version-externally-managed', None,
35 @@ -38,6 +39,7 @@ class install(orig.install):
38 orig.install.initialize_options(self)
39 + self.executable = None
40 self.old_and_unmanageable = None
41 self.single_version_externally_managed = None
43 diff --git a/setuptools/command/install_scripts.py b/setuptools/command/install_scripts.py
45 --- a/setuptools/command/install_scripts.py
47 @@ -13,6 +13,13 @@ class install_scripts(orig.install_scripts):
48 def initialize_options(self):
49 orig.install_scripts.initialize_options(self)
50 self.no_ep = False
51 + self.executable = None
53 + def finalize_options(self):
54 + orig.install_scripts.finalize_options(self)
55 + self.set_undefined_options('install',
59 def run(self):
61 @@ -33,6 +40,8 @@ class install_scripts(orig.install_scripts):
63 bs_cmd = self.get_finalized_command('build_scripts')
65 + if self.executable is not None:
66 + exec_param = self.executable
68 bw_cmd = self.get_finalized_command("bdist_wininst")
70 --