diff options
author | Georg Brandl <georg@python.org> | 2008-05-17 19:15:58 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-17 19:15:58 (GMT) |
commit | 6e47a33e49f01c06d616a05331ea6493f33b3988 (patch) | |
tree | b0f8e76251cc46903e108dedd58314a913a6e047 /PC | |
parent | 2e08136b3c1bc24794d08f1cb2929c5621bf3d3f (diff) | |
download | cpython-6e47a33e49f01c06d616a05331ea6493f33b3988.zip cpython-6e47a33e49f01c06d616a05331ea6493f33b3988.tar.gz cpython-6e47a33e49f01c06d616a05331ea6493f33b3988.tar.bz2 |
Tkinter, step 5: remove lib-tk subdirectory and update all places where it was mentioned.
Diffstat (limited to 'PC')
-rw-r--r-- | PC/VS7.1/python.iss | 10 | ||||
-rw-r--r-- | PC/VS7.1/python20.wse | 8 | ||||
-rw-r--r-- | PC/getpathp.c | 2 | ||||
-rw-r--r-- | PC/os2emx/getpathp.c | 2 | ||||
-rw-r--r-- | PC/os2vacpp/pyconfig.h | 2 | ||||
-rw-r--r-- | PC/pyconfig.h | 2 |
6 files changed, 12 insertions, 14 deletions
diff --git a/PC/VS7.1/python.iss b/PC/VS7.1/python.iss index 40365be..70c9bf3 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 @@ -188,8 +189,6 @@ Source: Lib\site-packages\win32\*.*; DestDir: {app}\Lib\site-packages\win32; Cop Source: Lib\site-packages\win32com\*.*; DestDir: {app}\Lib\site-packages\win32com; CopyMode: alwaysoverwrite; Components: main; Flags: recursesubdirs Source: Lib\site-packages\win32comext\*.*; DestDir: {app}\Lib\site-packages\win32comext; CopyMode: alwaysoverwrite; Components: main; Flags: recursesubdirs -Source: Lib\lib-tk\*.py; DestDir: {app}\Lib\lib-tk; CopyMode: alwaysoverwrite; Components: tk; Flags: recursesubdirs - Source: include\*.h; DestDir: {app}\include; CopyMode: alwaysoverwrite; Components: main Source: Tools\idle\*.*; DestDir: {app}\Tools\idle; CopyMode: alwaysoverwrite; Components: tk; Flags: recursesubdirs @@ -239,7 +238,6 @@ Root: HKLM; Subkey: SOFTWARE\Python; Flags: uninsdeletekeyifempty; Check: IsAdmi Root: HKLM; Subkey: SOFTWARE\Python\PythonCore; Flags: uninsdeletekeyifempty Root: HKLM; Subkey: SOFTWARE\Python\PythonCore\2.2; Flags: uninsdeletekeyifempty Root: HKLM; Subkey: SOFTWARE\Python\PythonCore\2.2\PythonPath; ValueData: "{app}\Lib;{app}\DLLs"; Flags: uninsdeletekeyifempty -Root: HKLM; Subkey: SOFTWARE\Python\PythonCore\2.2\PythonPath\tk; ValueData: {app}\Lib\lib-tk; Flags: uninsdeletekey; Components: tk Root: HKLM; Subkey: SOFTWARE\Python\PythonCore\2.2\PythonPath\win32; ValueData: "{app}\lib\site-packages\win32;{app}\lib\site-packages\win32\lib"; Flags: uninsdeletekey Root: HKLM; Subkey: SOFTWARE\Python\PythonCore\2.2\PythonPath\win32com; ValueData: C:\Python\lib\site-packages; Flags: uninsdeletekey Root: HKLM; Subkey: SOFTWARE\Python\PythonCore\2.2\Modules; Flags: uninsdeletekeyifempty @@ -294,9 +292,9 @@ Name: {app}\Lib\hotshot; Type: dirifempty Name: {app}\Lib\lib-old\*.pyc; Type: files Name: {app}\Lib\lib-old\*.pyo; Type: files 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..6c1c387 100644 --- a/PC/VS7.1/python20.wse +++ b/PC/VS7.1/python20.wse @@ -2040,8 +2040,8 @@ end item: Remark end item: Install File - Source=..\lib\lib-tk\*.py - Destination=%MAINDIR%\Lib\lib-tk + Source=..\lib\tkinter\*.py + Destination=%MAINDIR%\Lib\tkinter Description=Tkinter related library modules Flags=0000000000000010 end @@ -2726,7 +2726,7 @@ end item: Edit Registry Total Keys=1 Key=Software\Python\PythonCore\%PY_VERSION%\PythonPath - New Value=%MAINDIR%\Lib;%MAINDIR%\DLLs;%MAINDIR%\Lib\lib-tk + New Value=%MAINDIR%\Lib;%MAINDIR%\DLLs New Value= Root=2 end @@ -2764,7 +2764,7 @@ end item: Edit Registry Total Keys=1 Key=Software\Python\PythonCore\%PY_VERSION%\PythonPath - New Value=%MAINDIR%\Lib;%MAINDIR%\DLLs;%MAINDIR%\Lib\lib-tk + New Value=%MAINDIR%\Lib;%MAINDIR%\DLLs New Value= Root=1 end diff --git a/PC/getpathp.c b/PC/getpathp.c index 3a250be..e2beec1 100644 --- a/PC/getpathp.c +++ b/PC/getpathp.c @@ -25,7 +25,7 @@ is set, we believe it. Otherwise, we use the path of our host .EXE's to try and locate our "landmark" (lib\\os.py) and deduce our home. - If we DO have a Python Home: The relevant sub-directories (Lib, - plat-win, lib-tk, etc) are based on the Python Home + plat-win, etc) are based on the Python Home - If we DO NOT have a Python Home, the core Python Path is loaded from the registry. This is the main PythonPath key, and both HKLM and HKCU are combined to form the path) diff --git a/PC/os2emx/getpathp.c b/PC/os2emx/getpathp.c index 5839eab..9e37f63 100644 --- a/PC/os2emx/getpathp.c +++ b/PC/os2emx/getpathp.c @@ -17,7 +17,7 @@ is set, we believe it. Otherwise, we use the path of our host .EXE's to try and locate our "landmark" (lib\\os.py) and deduce our home. - If we DO have a Python Home: The relevant sub-directories (Lib, - plat-win, lib-tk, etc) are based on the Python Home + plat-win, etc) are based on the Python Home - If we DO NOT have a Python Home, the core Python Path is loaded from the registry. This is the main PythonPath key, and both HKLM and HKCU are combined to form the path) diff --git a/PC/os2vacpp/pyconfig.h b/PC/os2vacpp/pyconfig.h index f7d388c..2765b44 100644 --- a/PC/os2vacpp/pyconfig.h +++ b/PC/os2vacpp/pyconfig.h @@ -66,7 +66,7 @@ #define PYCC_VACPP /* Define Indicator of C Compiler */ /* Platform Filesystem */ -#define PYTHONPATH ".;.\\lib;.\\lib\\plat-win;.\\lib\\lib-tk" +#define PYTHONPATH ".;.\\lib;.\\lib\\plat-win" #define DOSFILESYS /* OS/2 Uses the DOS File Naming Conventions */ /* #define IMPORT_8x3_NAMES (let's move up to long filenames) */ diff --git a/PC/pyconfig.h b/PC/pyconfig.h index e38e823..b64561b 100644 --- a/PC/pyconfig.h +++ b/PC/pyconfig.h @@ -80,7 +80,7 @@ WIN32 is still required for the locale module. #define MS_WIN32 /* only support win32 and greater. */ #define MS_WINDOWS #ifndef PYTHONPATH -# define PYTHONPATH L".\\DLLs;.\\lib;.\\lib\\plat-win;.\\lib\\lib-tk" +# define PYTHONPATH L".\\DLLs;.\\lib;.\\lib\\plat-win" #endif #define NT_THREADS #define WITH_THREAD |