diff options
author | Steve Dower <steve.dower@microsoft.com> | 2015-05-22 22:10:10 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2015-05-22 22:10:10 (GMT) |
commit | 4a7fe7e3975062a939a4e7242f2a12b172befd8a (patch) | |
tree | 7d7eeee5aa9b075cd6838691e2f25b6c3a795b9c /Tools | |
parent | d9ef74e3ddffc9327a3b225734cdc5a5028e8d0b (diff) | |
download | cpython-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.py | 3 |
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: |