From 6c90c9faaeb20447df2e880f871ce10a80d2ff27 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 17 May 2008 19:14:23 +0000 Subject: Add new tkinter dir to various locations where lib-tk shows up. --- Misc/RPM/python-2.6.spec | 1 + PC/VS7.1/python.iss | 4 ++++ PC/VS7.1/python20.wse | 8 ++++++++ Tools/msi/msi.py | 2 +- 4 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Misc/RPM/python-2.6.spec b/Misc/RPM/python-2.6.spec index d6d14d8..7883358 100644 --- a/Misc/RPM/python-2.6.spec +++ b/Misc/RPM/python-2.6.spec @@ -377,6 +377,7 @@ rm -f mainpkg.files tools.files %files tkinter %defattr(-,root,root) %{__prefix}/%{libdirname}/python%{libvers}/lib-tk +%{__prefix}/%{libdirname}/python%{libvers}/tkinter %{__prefix}/%{libdirname}/python%{libvers}/lib-dynload/_tkinter.so* %endif diff --git a/PC/VS7.1/python.iss b/PC/VS7.1/python.iss index 40365be..b5cd1d5 100644 --- a/PC/VS7.1/python.iss +++ b/PC/VS7.1/python.iss @@ -180,6 +180,7 @@ Source: Lib\lib-old\*.*; DestDir: {app}\Lib\lib-old; CopyMode: alwaysoverwrite; Source: Lib\xml\*.*; DestDir: {app}\Lib\xml; CopyMode: alwaysoverwrite; Components: main; Flags: recursesubdirs Source: Lib\hotshot\*.*; DestDir: {app}\Lib\hotshot; CopyMode: alwaysoverwrite; Components: main; Flags: recursesubdirs Source: Lib\test\*.*; DestDir: {app}\Lib\test; CopyMode: alwaysoverwrite; Components: test; Flags: recursesubdirs +Source: Lib\tkinter\*.py; DestDir: {app}\Lib\tkinter; CopyMode: alwaysoverwrite; Components: tk; Flags: recursesubdirs Source: Lib\site-packages\README.txt; DestDir: {app}\Lib\site-packages; CopyMode: alwaysoverwrite; Components: main @@ -297,6 +298,9 @@ Name: {app}\Lib\lib-old; Type: dirifempty Name: {app}\Lib\lib-tk\*.pyc; Type: files Name: {app}\Lib\lib-tk\*.pyo; Type: files Name: {app}\Lib\lib-tk; Type: dirifempty +Name: {app}\Lib\tkinter\*.pyc; Type: files +Name: {app}\Lib\tkinter\*.pyo; Type: files +Name: {app}\Lib\tkinter; Type: dirifempty Name: {app}\Lib\test\*.pyc; Type: files Name: {app}\Lib\test\*.pyo; Type: files Name: {app}\Lib\test; Type: dirifempty diff --git a/PC/VS7.1/python20.wse b/PC/VS7.1/python20.wse index fa11af4..8f90427 100644 --- a/PC/VS7.1/python20.wse +++ b/PC/VS7.1/python20.wse @@ -2048,6 +2048,14 @@ end item: Remark end item: Install File + Source=..\lib\tkinter\*.py + Destination=%MAINDIR%\Lib\tkinter + Description=Tkinter related library modules + Flags=0000000000000010 +end +item: Remark +end +item: Install File Source=..\lib\logging\*.py Destination=%MAINDIR%\Lib\logging Description=Logging package diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py index 74f6c37..4b4b3c4 100644 --- a/Tools/msi/msi.py +++ b/Tools/msi/msi.py @@ -916,7 +916,7 @@ def add_files(db): parent, dir = pydirs.pop() if dir == ".svn" or dir.startswith("plat-"): continue - elif dir in ["lib-tk", "idlelib", "Icons"]: + elif dir in ["lib-tk", "tkinter", "idlelib", "Icons"]: if not have_tcl: continue tcltk.set_current() -- cgit v0.12