← Back to DAGDA | Support | Source: https://github.com/python/cpython/pull/10245/commits/64e24d4709beaa5c48888f976aef4cb7ef04140f
Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
17ba155
bpo-34977: Add Windows App Store package
zooba Oct 1, 2018
303497e
Runs symlink tests in correct directory
zooba Nov 19, 2018
164506e
Merge remote-tracking branch 'cpython/master' into msix
zooba Nov 19, 2018
8d1d6f8
Switch python_uwp to use new API
zooba Nov 19, 2018
d02bc93
Undoes some unnecessary changes
zooba Nov 19, 2018
1bf9ae8
Merge remote-tracking branch 'cpython/master' into msix
zooba Nov 20, 2018
0e2c7ad
Merge remote-tracking branch 'cpython/master' into msix
zooba Nov 22, 2018
5d600d1
Fixes MSIX registry keys
zooba Nov 23, 2018
312e9f0
Merge remote-tracking branch 'cpython/master' into msix
zooba Nov 23, 2018
f02f481
Fixes argc issue and handle new include/ dirs
zooba Nov 23, 2018
cb34aa3
Fix invalid name
zooba Nov 23, 2018
64e24d4
Fixes tcl library not being correctly included
zooba Nov 23, 2018
28e7f1f
Fixes missing vcruntime and venv warning
zooba Nov 26, 2018
76c1864
Fix minor issues, improve sccd file
zooba Nov 26, 2018
9e7675e
Remove classicAppCompat SCCD and registry keys
zooba Nov 28, 2018
b7383fe
Fixes version number and adds registry exception
zooba Nov 29, 2018
c108ab6
Add missing XML prefix
zooba Nov 29, 2018
8ce142a
Fix version numbers and enable reg virtualization for current versions
zooba Nov 29, 2018
48dd10a
Added signed classicAppCompat.sccd
zooba Nov 30, 2018
9ac3c57
Treat classicAppCompat files as binary
zooba Nov 30, 2018
8fe2b24
Fixes size of logo image
zooba Dec 4, 2018
8ca533a
Remove mapping files and fix APPX build
zooba Dec 6, 2018
3615a73
Adds basic store info and support local signing with cert file
zooba Dec 6, 2018
bdcf497
Ensures name is passed to makepri
zooba Dec 7, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixes tcl library not being correctly included
  • Loading branch information
zooba committed Nov 23, 2018
commit 64e24d4709beaa5c48888f976aef4cb7ef04140f
22 changes: 22 additions & 0 deletions PC/layout/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,25 @@ def _c(f):
yield Path("distutils/command/bdist_wininst.py"), src


def get_tcltk_lib(ns):
if not ns.include_tcltk:
return

tcl_lib = os.getenv("TCL_LIBRARY")
if not tcl_lib or not os.path.isdir(tcl_lib):
try:
with open(ns.build / "TCL_LIBRARY.env", "r", encoding="utf-8-sig") as f:
tcl_lib = f.read().strip()
except FileNotFoundError:
pass
if not tcl_lib or not os.path.isdir(tcl_lib):
warn("Failed to find TCL_LIBRARY")
return

for dest, src in rglob(Path(tcl_lib).parent, "**/*"):
yield "tcl/{}".format(dest), src


def get_layout(ns):
def in_build(f, dest="", new_name=None):
n, _, x = f.rpartition(".")
Expand Down Expand Up @@ -178,6 +197,9 @@ def _c(d):
src = ns.source / "PC" / "pyconfig.h"
yield "include/pyconfig.h", src

for dest, src in get_tcltk_lib(ns):
yield dest, src

if ns.include_pip:
pip_dir = get_pip_dir(ns)
if not pip_dir.is_dir():
Expand Down
6 changes: 6 additions & 0 deletions PCbuild/_tkinter.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,10 @@
<Target Name="_CleanTclTkDLL" BeforeTargets="Clean">
<Delete Files="@(_TclTkDLL->'$(OutDir)%(Filename)%(Extension)')" />
</Target>
<Target Name="_WriteTCL_LIBRARY" Outputs="$(OutDir)TCL_LIBRARY.env" AfterTargets="Build">
<WriteLinesToFile File="$(OutDir)TCL_LIBRARY.env" Lines="$(tcltkdir)\lib\tcl$(TclMajorVersion).$(TclMinorVersion)" Encoding="utf-8" Overwrite="true" />
</Target>
<Target Name="_CleanTCL_LIBRARY" BeforeTargets="Clean">
<Delete Files="$(OutDir)TCL_LIBRARY.env" />
</Target>
</Project>