python3: Add new packages python3-setuptools

Signed-off-by: Florian Fieber <florian@florianfieber.de>
This commit is contained in:
Florian Fieber
2015-06-07 23:12:13 +02:00
parent 472b596bb1
commit 10294a1d5c
3 changed files with 93 additions and 0 deletions
@@ -0,0 +1,13 @@
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index df1655b..24c34e5 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -1885,7 +1885,7 @@ class CommandSpec(list):
return param
if isinstance(param, list):
return cls(param)
- if param is None:
+ if param is None or os.environ.get('__PYVENV_LAUNCHER__'):
return cls.from_environment()
# otherwise, assume it's a string.
return cls.from_string(param)