Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 334bbb9

Browse files
author
stonebig
committed
desactivate python._pth for Python-3.6
1 parent 105a79e commit 334bbb9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

make.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,8 @@ def _extract_python(self):
395395
open(pyvenv_file, 'w').write('applocal=True\n')
396396
else:
397397
# new Python 3.6 trick (https://docs.python.org/3.6/using/windows.html#finding-modules)
398-
pypath_file = osp.join(self.python_dir, 'python._pth')
398+
# (on hold since 2017-02-16, http://bugs.python.org/issue29578)
399+
pypath_file = osp.join(self.python_dir, 'python_onHold._pth')
399400
open(pypath_file, 'w').write('python36.zip\nDLLs\nLib\n.\nimport site\n')
400401
else:
401402
utils.extract_msi(self.python_fname, targetdir=self.python_dir)

0 commit comments

Comments
 (0)