1 diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
2 index e8b90c7..8598c44 100755
3 --- a/setuptools/command/easy_install.py
4 +++ b/setuptools/command/easy_install.py
5 @@ -1946,6 +1946,8 @@ class CommandSpec(list):
6 Construct a CommandSpec from a parameter to build_scripts, which may
9 + if os.environ.get('__PYVENV_LAUNCHER__'):
10 + return cls.from_environment()
11 if isinstance(param, cls):
13 if isinstance(param, list):