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
559 B

  1. diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
  2. index df1655b..24c34e5 100755
  3. --- a/setuptools/command/easy_install.py
  4. +++ b/setuptools/command/easy_install.py
  5. @@ -1885,7 +1885,7 @@ class CommandSpec(list):
  6. return param
  7. if isinstance(param, list):
  8. return cls(param)
  9. - if param is None:
  10. + if param is None or os.environ.get('__PYVENV_LAUNCHER__'):
  11. return cls.from_environment()
  12. # otherwise, assume it's a string.
  13. return cls.from_string(param)