summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-08-30 09:22:04 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2004-08-30 09:22:04 (GMT)
commit6de2d4da7d8b05b5314087a0f38a56bf4a6d4a4f (patch)
tree46a50e4663069a2ee5eb603ded671560707833a1 /PCbuild
parent356a4599acd4c835ab88c221bd5da073c9895e83 (diff)
downloadcpython-6de2d4da7d8b05b5314087a0f38a56bf4a6d4a4f.zip
cpython-6de2d4da7d8b05b5314087a0f38a56bf4a6d4a4f.tar.gz
cpython-6de2d4da7d8b05b5314087a0f38a56bf4a6d4a4f.tar.bz2
Bump Tk version to 8.4.7. Build into tcltk directory.
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/_tkinter.vcproj18
-rw-r--r--PCbuild/readme.txt46
2 files changed, 28 insertions, 36 deletions
diff --git a/PCbuild/_tkinter.vcproj b/PCbuild/_tkinter.vcproj
index a2405f1..7179369 100644
--- a/PCbuild/_tkinter.vcproj
+++ b/PCbuild/_tkinter.vcproj
@@ -21,7 +21,7 @@
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
- AdditionalIncludeDirectories="..\..\tcl84\include,..\Include,..\PC"
+ AdditionalIncludeDirectories="..\..\tcltk\include,..\Include,..\PC"
PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;WITH_APPINIT"
StringPooling="TRUE"
RuntimeLibrary="2"
@@ -39,11 +39,11 @@
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
- AdditionalDependencies="..\..\tcl84\lib\tk84.lib ..\..\tcl84\lib\tcl84.lib odbccp32.lib"
+ AdditionalDependencies="..\..\tcltk\lib\tk84.lib ..\..\tcltk\lib\tcl84.lib odbccp32.lib"
OutputFile="./_tkinter.pyd"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
- AdditionalLibraryDirectories="C:\Program Files\Tcl\lib"
+ AdditionalLibraryDirectories=""
GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\./_tkinter.pdb"
SubSystem="2"
@@ -89,7 +89,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
- AdditionalIncludeDirectories="..\..\tcl84\include,..\Include,..\PC"
+ AdditionalIncludeDirectories="..\..\tcltk\include,..\Include,..\PC"
PreprocessorDefinitions="_DEBUG;WIN32;_WINDOWS;WITH_APPINIT"
RuntimeLibrary="3"
UsePrecompiledHeader="2"
@@ -105,11 +105,11 @@
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
- AdditionalDependencies="..\..\tcl84\lib\tk84.lib ..\..\tcl84\lib\tcl84.lib odbccp32.lib"
+ AdditionalDependencies="..\..\tcltk\lib\tk84.lib ..\..\tcltk\lib\tcl84.lib odbccp32.lib"
OutputFile="./_tkinter_d.pyd"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
- AdditionalLibraryDirectories="C:\Program Files\Tcl\lib"
+ AdditionalLibraryDirectories=""
GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\./_tkinter_d.pdb"
SubSystem="2"
@@ -157,7 +157,7 @@
AdditionalOptions=" /USECL:MS_ITANIUM"
Optimization="2"
InlineFunctionExpansion="1"
- AdditionalIncludeDirectories="{MSSDKPATH}\include\Win64\atl;{MSSDKPATH}\include\Win64\crt;{MSSDKPATH}\include\Win64\crt\sys;{MSSDKPATH}\include\Win64\mfc;..\..\tcl84\include,..\Include,..\PC"
+ AdditionalIncludeDirectories="{MSSDKPATH}\include\Win64\atl;{MSSDKPATH}\include\Win64\crt;{MSSDKPATH}\include\Win64\crt\sys;{MSSDKPATH}\include\Win64\mfc;..\..\tcltk\include,..\Include,..\PC"
PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;WITH_APPINIT"
StringPooling="TRUE"
BasicRuntimeChecks="0"
@@ -179,11 +179,11 @@
<Tool
Name="VCLinkerTool"
AdditionalOptions=" /MACHINE:IA64 /USELINK:MS_SDK"
- AdditionalDependencies="..\..\tcl84\lib\tk84.lib ..\..\tcl84\lib\tcl84.lib odbccp32.lib"
+ AdditionalDependencies="..\..\tcltk\lib\tk84.lib ..\..\tcltk\lib\tcl84.lib odbccp32.lib"
OutputFile="./_tkinter.pyd"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
- AdditionalLibraryDirectories="C:\Program Files\Tcl\lib"
+ AdditionalLibraryDirectories=""
GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\./_tkinter.pdb"
SubSystem="2"
diff --git a/PCbuild/readme.txt b/PCbuild/readme.txt
index 80e5733..916bf5c 100644
--- a/PCbuild/readme.txt
+++ b/PCbuild/readme.txt
@@ -63,7 +63,7 @@ unpack into new subdirectories of dist\.
_tkinter
Python wrapper for the Tk windowing system. Requires building
- Tcl/Tk first. Following are instructions for Tcl/Tk 8.4.5; these
+ Tcl/Tk first. Following are instructions for Tcl/Tk 8.4.7; these
should work for version 8.4.6 too, with suitable substitutions:
Get source
@@ -71,11 +71,11 @@ _tkinter
Go to
http://prdownloads.sourceforge.net/tcl/
and download
- tcl845-src.zip
- tk845-src.zip
+ tcl847-src.zip
+ tk847-src.zip
Unzip into
- dist\tcl8.4.5\
- dist\tk8.4.5\
+ dist\tcl8.4.7\
+ dist\tk8.4.7\
respectively.
Build Tcl first (done here w/ MSVC 7.1 on Windows XP)
@@ -83,25 +83,25 @@ _tkinter
Use "Start -> All Programs -> Microsoft Visual Studio .NET 2003
-> Visual Studio .NET Tools -> Visual Studio .NET 2003 Command Prompt"
to get a shell window with the correct environment settings
- cd dist\tcl8.4.5\win
+ cd dist\tcl8.4.7\win
nmake -f makefile.vc
- nmake -f makefile.vc INSTALLDIR=..\..\tcl84 install
+ nmake -f makefile.vc INSTALLDIR=..\..\tcltk install
XXX Should we compile with OPTS=threads?
Optional: run tests, via
nmake -f makefile.vc test
- On WinXP Pro, wholly up to date as of 11-Apr-2004:
- all.tcl: Total 10564 Passed 9855 Skipped 708 Failed 1
+ On WinXP Pro, wholly up to date as of 30-Aug-2004:
+ all.tcl: Total 10572 Passed 9869 Skipped 703 Failed 0
Sourced 129 Test Files.
- Files with failing tests: httpold.test
+ Files with failing tests: ioCmd.test
Build Tk
--------
- cd dist\tk8.4.5\win
- nmake -f makefile.vc TCLDIR=..\..\tcl8.4.5
- nmake -f makefile.vc TCLDIR=..\..\tcl8.4.5 INSTALLDIR=..\..\tcl84 install
+ cd dist\tk8.4.7\win
+ nmake -f makefile.vc TCLDIR=..\..\tcl8.4.7
+ nmake -f makefile.vc TCLDIR=..\..\tcl8.4.7 INSTALLDIR=..\..\tcltk install
XXX Should we compile with OPTS=threads?
@@ -109,21 +109,13 @@ _tkinter
XXX directory. Is all of that really needed for Python use of Tcl/Tk?
Optional: run tests, via
- nmake -f makefile.vc TCLDIR=..\..\tcl8.4.5 test
-
- On WinXP Pro, wholly up to date as of 11-Apr-2004:
- all.tcl: Total 8327 Passed 6717 Skipped 1579 Failed 31
- Sourced 182 Test Files.
- Files with failing tests: canvImg.test scale.test scrollbar.test textWind.test winWm.test
-
-
- 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.
+ nmake -f makefile.vc TCLDIR=..\..\tcl8.4.7 test
+ On WinXP Pro, wholly up to date as of 30-Aug-2004:
+ all.tcl: Total 8421 Passed 6826 Skipped 1581 Failed 14
+ Sourced 91 Test Files.
+ Files with failing tests: frame.test scrollbar.test textWind.test winDialog.test
+ winWm.test winfo.test
zlib
Python wrapper for the zlib compression library. Get the source code