aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/develop.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-12-11 10:07:13 -0500
committerJason R. Coombs <jaraco@jaraco.com>2015-12-11 10:07:13 -0500
commit07037d10760792ffe616349ab7642b2fce0a0527 (patch)
tree3981d660b20786205f6be39b24d29af84c154b5a /setuptools/command/develop.py
parent76ffa368456be9ecbcb81a8ba3196f1246e444c0 (diff)
downloadexternal_python_setuptools-07037d10760792ffe616349ab7642b2fce0a0527.tar.gz
external_python_setuptools-07037d10760792ffe616349ab7642b2fce0a0527.tar.bz2
external_python_setuptools-07037d10760792ffe616349ab7642b2fce0a0527.zip
Extract variable, avoiding hanging indent.
Diffstat (limited to 'setuptools/command/develop.py')
-rwxr-xr-xsetuptools/command/develop.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/develop.py b/setuptools/command/develop.py
index 85118767..07b66ccb 100755
--- a/setuptools/command/develop.py
+++ b/setuptools/command/develop.py
@@ -54,8 +54,8 @@ class develop(easy_install):
# pick up setup-dir .egg files only: no .egg-info
self.package_index.scan(glob.glob('*.egg'))
- self.egg_link = os.path.join(self.install_dir, ei.egg_name +
- '.egg-link')
+ egg_link_fn = ei.egg_name + '.egg-link'
+ self.egg_link = os.path.join(self.install_dir, egg_link_fn)
self.egg_base = ei.egg_base
if self.egg_path is None:
self.egg_path = os.path.abspath(ei.egg_base)