You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
546 B

  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
  7. be None.
  8. """
  9. + if os.environ.get('__PYVENV_LAUNCHER__'):
  10. + return cls.from_environment()
  11. if isinstance(param, cls):
  12. return param
  13. if isinstance(param, list):