2015-08-31 11:11:34 +00:00
|
|
|
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
|
2016-11-28 14:48:54 +00:00
|
|
|
index e8b90c7..8598c44 100755
|
2015-08-31 11:11:34 +00:00
|
|
|
--- a/setuptools/command/easy_install.py
|
|
|
|
+++ b/setuptools/command/easy_install.py
|
2016-11-28 14:48:54 +00:00
|
|
|
@@ -1946,6 +1946,8 @@ class CommandSpec(list):
|
|
|
|
Construct a CommandSpec from a parameter to build_scripts, which may
|
|
|
|
be None.
|
|
|
|
"""
|
|
|
|
+ if os.environ.get('__PYVENV_LAUNCHER__'):
|
|
|
|
+ return cls.from_environment()
|
|
|
|
if isinstance(param, cls):
|
2015-08-31 11:11:34 +00:00
|
|
|
return param
|
|
|
|
if isinstance(param, list):
|