diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2015-02-09 06:51:32 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2015-02-09 06:51:32 (GMT) |
commit | 39abba46db9c9b4ad4a43b405068cfb018f7ab01 (patch) | |
tree | 124158de82b26194230b6e472410f5455b9e883d /Tools | |
parent | 833d1925c77f8b996016d57fb08f981d3bfaf690 (diff) | |
download | cpython-39abba46db9c9b4ad4a43b405068cfb018f7ab01.zip cpython-39abba46db9c9b4ad4a43b405068cfb018f7ab01.tar.gz cpython-39abba46db9c9b4ad4a43b405068cfb018f7ab01.tar.bz2 |
Issue #17896: Update msi.py to new externals dir.
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/msi/msi.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py index b48f09a..d50056a 100644 --- a/Tools/msi/msi.py +++ b/Tools/msi/msi.py @@ -929,9 +929,9 @@ def generate_license(): ("Tk", "tk8*", "license.terms"), ("Tix", "tix-*", "license.terms")): out.write("\nThis copy of Python includes a copy of %s, which is licensed under the following terms:\n\n" % name) - dirs = glob.glob(srcdir+"/../"+pat) + dirs = glob.glob(srcdir+"/externals/"+pat) if not dirs: - raise ValueError, "Could not find "+srcdir+"/../"+pat + raise ValueError, "Could not find "+srcdir+"/externals/"+pat if len(dirs) > 2 and not snapshot: raise ValueError, "Multiple copies of "+pat dir = dirs[0] @@ -1115,7 +1115,7 @@ def add_files(db): lib.start_component("TkDLLs", tcltk) lib.add_file("_tkinter.pyd") dlls.append("_tkinter.pyd") - tcldir = os.path.normpath(srcdir+("/../tcltk%s/bin" % tclsuffix)) + tcldir = os.path.normpath(srcdir+("/externals/tcltk%s/bin" % tclsuffix)) for f in glob.glob1(tcldir, "*.dll"): lib.add_file(f, src=os.path.join(tcldir, f)) # check whether there are any unknown extensions @@ -1140,7 +1140,7 @@ def add_files(db): lib.add_file('libpython%s%s.a' % (major, minor)) if have_tcl: # Add Tcl/Tk - tcldirs = [(root, '../tcltk%s/lib' % tclsuffix, 'tcl')] + tcldirs = [(root, 'externals/tcltk%s/lib' % tclsuffix, 'tcl')] tcltk.set_current() while tcldirs: parent, phys, dir = tcldirs.pop() |