Fresh pull from upstream (stable) package feed
[librecmc/package-feed.git] / lang / python3-setuptools / patches / 0002-fix-pyvenv-environment-get.patch
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):