Author GreenKey
Recipients GreenKey, emilyemorehouse, ncoghlan, r.david.murray
Date 2017-06-14.19:37:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1497469039.6.0.138943679027.issue30628@psf.upfronthosting.co.za>
In-reply-to
Content
diff --git a/Lib/venv/__init__.py b/Lib/venv/__init__.py
index 716129d139..757e8de4e7 100644
--- a/Lib/venv/__init__.py
+++ b/Lib/venv/__init__.py
@@ -243,6 +243,9 @@ class EnvBuilder:
         cmd = [context.env_exe, '-Im', 'ensurepip', '--upgrade',
                                                     '--default-pip']
         subprocess.check_output(cmd, stderr=subprocess.STDOUT)
+        cmd= [context.env_exe, '-Im', 'pip', 'install', '--upgrade',
+                                'pip', 'setuptools']
+        subprocess.check_output(cmd, stderr=subprocess.STDOUT)
 
     def setup_scripts(self, context):
         """

Crude, but effective. Food for thought?
History
Date User Action Args
2017-06-14 19:37:19GreenKeysetrecipients: + GreenKey, ncoghlan, r.david.murray, emilyemorehouse
2017-06-14 19:37:19GreenKeysetmessageid: <1497469039.6.0.138943679027.issue30628@psf.upfronthosting.co.za>
2017-06-14 19:37:19GreenKeylinkissue30628 messages
2017-06-14 19:37:19GreenKeycreate