aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/install.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/command/install.py')
-rw-r--r--setuptools/command/install.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/setuptools/command/install.py b/setuptools/command/install.py
index 05a25c26..f52423f4 100644
--- a/setuptools/command/install.py
+++ b/setuptools/command/install.py
@@ -52,8 +52,7 @@ class install(_install):
if self.old_and_unmanageable or self.single_version_externally_managed:
return _install.run(self)
- called_from_setup = self._called_from_setup(inspect.currentframe())
- if not called_from_setup:
+ if not self._called_from_setup(inspect.currentframe()):
# Run in backward-compatibility mode to support bdist_* commands.
_install.run(self)
else: