summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2015-05-22 22:10:10 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2015-05-22 22:10:10 (GMT)
commit4a7fe7e3975062a939a4e7242f2a12b172befd8a (patch)
tree7d7eeee5aa9b075cd6838691e2f25b6c3a795b9c /Tools
parentd9ef74e3ddffc9327a3b225734cdc5a5028e8d0b (diff)
downloadcpython-4a7fe7e3975062a939a4e7242f2a12b172befd8a.zip
cpython-4a7fe7e3975062a939a4e7242f2a12b172befd8a.tar.gz
cpython-4a7fe7e3975062a939a4e7242f2a12b172befd8a.tar.bz2
Issue #23955: Add pyvenv.cfg option to suppress registry/environment lookup for generating sys.path.
Also cleans up and secures getpathp.c
Diffstat (limited to 'Tools')
-rw-r--r--Tools/msi/make_zip.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/msi/make_zip.py b/Tools/msi/make_zip.py
index 72ec280..fcfcd56 100644
--- a/Tools/msi/make_zip.py
+++ b/Tools/msi/make_zip.py
@@ -149,6 +149,9 @@ def main():
copied = copy_to_layout(temp / t.rstrip('/'), rglob(s, p, c))
print('Copied {} files'.format(copied))
+ with open(str(temp / 'pyvenv.cfg'), 'w') as f:
+ print('applocal = true', file=f)
+
total = copy_to_layout(out, rglob(temp, '*', None))
print('Wrote {} files to {}'.format(total, out))
finally: