We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents df9e9e7 + d7fa45e commit aeb0425Copy full SHA for aeb0425
make.py
@@ -412,6 +412,9 @@ def _extract_python(self):
412
os.mkdir(self.python_dir)
413
if self.python_fname[-3:] == 'zip': # Python3.5
414
utils.extract_archive(self.python_fname, targetdir=self.python_dir+r'\..')
415
+ # new Python 3.5 trick (https://bugs.python.org/issue23955)
416
+ pyvenv_file = osp.join(self.python_dir, 'pyvenv.cfg')
417
+ open(pyvenv_file, 'w').write('applocal=True\n')
418
else:
419
utils.extract_msi(self.python_fname, targetdir=self.python_dir)
420
os.remove(osp.join(self.python_dir, osp.basename(self.python_fname)))
0 commit comments