aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/install_scripts.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-01-18 19:46:46 -0500
committerJason R. Coombs <jaraco@jaraco.com>2015-01-18 19:46:46 -0500
commit0d32bf350dce5cf21c821b9216799fa53550c5c1 (patch)
treeeb5620443fff0ea0bdf03e59c3240a65f47f2204 /setuptools/command/install_scripts.py
parent7cf2343ad9f5b77992422598d27d1f70e9473db0 (diff)
downloadexternal_python_setuptools-0d32bf350dce5cf21c821b9216799fa53550c5c1.tar.gz
external_python_setuptools-0d32bf350dce5cf21c821b9216799fa53550c5c1.tar.bz2
external_python_setuptools-0d32bf350dce5cf21c821b9216799fa53550c5c1.zip
Extract variable for exec_param
Diffstat (limited to 'setuptools/command/install_scripts.py')
-rwxr-xr-xsetuptools/command/install_scripts.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setuptools/command/install_scripts.py b/setuptools/command/install_scripts.py
index cad524ec..f85f4520 100755
--- a/setuptools/command/install_scripts.py
+++ b/setuptools/command/install_scripts.py
@@ -30,7 +30,8 @@ class install_scripts(orig.install_scripts):
ei_cmd.egg_name, ei_cmd.egg_version,
)
bs_cmd = self.get_finalized_command('build_scripts')
- cmd = ei.CommandSpec.from_param(getattr(bs_cmd, 'executable', None))
+ exec_param = getattr(bs_cmd, 'executable', None)
+ cmd = ei.CommandSpec.from_param(exec_param)
bw_cmd = self.get_finalized_command("bdist_wininst")
is_wininst = getattr(bw_cmd, '_is_running', False)
writer = ei.ScriptWriter