Renamed Wise vrbl from _TCLMINOR_ to _TCLDIR_, to remove any script

dependence on the Tcl/Tk version number.  Now you point it at the
Tcl/Tk install you want to ship, and that's what it ships.
This commit is contained in:
Tim Peters 2002-11-19 17:38:27 +00:00
parent b9a21ad74d
commit a406b58619
2 changed files with 23 additions and 19 deletions

View File

@ -30,9 +30,11 @@ item: Global
Variable Description1=WISE root directory
Variable Default1=C:\PROGRAM FILES\WISE INSTALLMASTER 8.1
Variable Flags1=00001000
Variable Name2=_TCLMINOR_
Variable Description2=Tcl/Tk Minor Version (e.g. the "4" in "8.4.1")
Variable Default2=4
Variable Name2=_TCLDIR_
Variable Description2=The directory in which the Tcl/Tk installation
Variable Description2=lives. This must be a sibling of the Python
Variable Description2=directory.
Variable Default2=tcl84
Variable Flags2=00001000
Variable Name3=_DOC_
Variable Description3=The unpacked HTML doc directory.
@ -94,6 +96,14 @@ item: Remark
end
item: Remark
end
item: Remark
Text=When the version of Tcl/Tk changes, the compiler vrbl
end
item: Remark
Text=_TCLDIR_ may also need to be changed.
end
item: Remark
end
item: Set Variable
Variable=APPTITLE
Value=Python %PYVER_STRING%
@ -2048,19 +2058,13 @@ item: Remark
Text=Tcl/Tk
end
item: Install File
Source=..\..\tcl84\bin\tcl8%_tclminor_%.dll
Destination=%MAINDIR%\DLLs\tcl8%_TCLMINOR_%.dll
Source=..\..\%_tcldir_%\bin\*.dll
Destination=%MAINDIR%\DLLs
Description=Tcl/Tk binaries and libraries
Flags=0000000000000010
end
item: Install File
Source=..\..\tcl84\bin\tk8%_tclminor_%.dll
Destination=%MAINDIR%\DLLs\tk8%_TCLMINOR_%.dll
Description=Tcl/Tk binaries and libraries
Flags=0000000000000010
end
item: Install File
Source=..\..\tcl84\lib\*.*
Source=..\..\%_tcldir_%\lib\*.*
Destination=%MAINDIR%\tcl
Description=Tcl/Tk binaries and libraries
Flags=0000000100000010

View File

@ -97,13 +97,6 @@ _tkinter
XXX Some tests failed in "nmake -f makefile.vc test".
XXX Should rename destination directory to something more generic
XXX then tcl84. But unless I can backport 8.4.1 to the 2.2 line
XXX too, I've got to be able to build using more than one Tcl/Tk
XXX release, and that effectively reserves the "tcl" directory name
XXX for the duration. Nothing that requires thought is going to
XXX work when it comes to release crunch times.
Build Tk
--------
cd dist\tk8.4.1\win
@ -117,6 +110,13 @@ _tkinter
XXX Our installer copies a lot of stuff out of the Tcl/Tk install
XXX directory. Is all of that really needed for Python use of Tcl/Tk?
Make sure the installer matches
-------------------------------
Ensure that the Wise compiler vrbl _TCLDIR_ is set to the name of
the common Tcl/Tk installation directory (tcl84 for the instructions
above). This is needed so the installer can copy various Tcl/Tk
files into the Python distribution.
zlib
Python wrapper for the zlib compression library. Get the source code