]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Move Windows to Expat 1.95.2. CAUTION: Your Windows build won't work
authorTim Peters <tim.peters@gmail.com>
Sat, 28 Jul 2001 07:56:38 +0000 (07:56 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 28 Jul 2001 07:56:38 +0000 (07:56 +0000)
until you download the new expat and install it; see PCbuild\readme.txt.

PCbuild/pyexpat.dsp
PCbuild/python.iss
PCbuild/python20.wse
PCbuild/readme.txt

index 1754737793072d12a31fbb7799bdea21bf88c406..32a34e61505304f3aa30f40bb08cf0fd2263e9ef 100755 (executable)
@@ -45,7 +45,7 @@ CFG=pyexpat - Win32 Alpha Debug
 F90=df.exe\r
 CPP=cl.exe\r
 # ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c\r
-# ADD CPP /nologo /MD /W3 /GX /Zi /O2 /I "..\Include" /I "..\PC" /I "..\..\expat\xmlparse" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c\r
+# ADD CPP /nologo /MD /W3 /GX /Zi /O2 /I "..\Include" /I "..\PC" /I "..\..\expat\Source\lib" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "HAVE_EXPAT_H" /YX /FD /c\r
 MTL=midl.exe\r
 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32\r
 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32\r
@@ -76,7 +76,7 @@ LINK32=link.exe
 F90=df.exe\r
 CPP=cl.exe\r
 # ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c\r
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\Include" /I "..\PC" /I "..\..\expat\xmlparse" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c\r
+# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\Include" /I "..\PC" /I "..\..\expat\Source\lib" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "HAVE_EXPAT_H" /YX /FD /c\r
 MTL=midl.exe\r
 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32\r
 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32\r
@@ -180,11 +180,7 @@ SOURCE=..\Modules\pyexpat.c
 # End Source File\r
 # Begin Source File\r
 \r
-SOURCE=..\..\expat\lib\xmltok.lib\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=..\..\expat\lib\xmlparse.lib\r
+SOURCE=..\..\expat\Libs\expat.lib\r
 # End Source File\r
 # End Target\r
 # End Project\r
index 80b43c7595411c9aaf9277b03638b235e59f7f4c..e42fa10a4bbfc435c23ed21991bfaa2730a812b5 100644 (file)
@@ -160,8 +160,7 @@ Source: PCbuild\zlib.lib;        DestDir: "{app}\libs"; CopyMode: alwaysoverwrit
 
 Source: PCbuild\python22.lib;    DestDir: "{app}\libs"; CopyMode: alwaysoverwrite; Components: main
 
-Source: ..\expat\bin\xmlparse.dll; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main
-Source: ..\expat\bin\xmltok.dll;   DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main
+Source: ..\expat\Libs\expat.dll; DestDir: "{app}\DLLs"; CopyMode: alwaysoverwrite; Components: main
 
 Source: Lib\*.py; DestDir: "{app}\Lib"; CopyMode: alwaysoverwrite; Components: main
 Source: Lib\lib-tk\*.py; DestDir: "{app}\Lib\lib-tk"; CopyMode: alwaysoverwrite; Components: main
index 0ebcd8f80be35265cf1dc5269f4eb36a87438682..6ec142ccfa1bd13547296aa64b75fdd648d1a282 100644 (file)
@@ -837,14 +837,8 @@ item: Remark
   Text=*** More DLLs ***
 end
 item: Install File
-  Source=%_SRC_%\..\expat\bin\xmlparse.dll
-  Destination=%MAINDIR%\DLLs\xmlparse.dll
-  Description=Expat library
-  Flags=0000000000000010
-end
-item: Install File
-  Source=%_SRC_%\..\expat\bin\xmltok.dll
-  Destination=%MAINDIR%\DLLs\xmltok.dll
+  Source=%_SRC_%\..\expat\Libs\expat.dll
+  Destination=%MAINDIR%\DLLs\expat.dll
   Description=Expat library
   Flags=0000000000000010
 end
index c6033f1c70104b766bbf231dbc76e5abdf323f10..8680e7d135e768400e2d2abb8334b2aced63f267 100644 (file)
@@ -100,9 +100,14 @@ bsddb
     step in an enviroment that already has the correct envars set up).
 
 pyexpat
-    Python wrapper for accelerated XML parsing.  Requires
-        ftp://ftp.jclark.com/pub/xml/expat.zip
-    Unpack into dist\expat.
+    Python wrapper for accelerated XML parsing.  Requires the Windows
+    expat_win32bin installer from
+        http://sourceforge.net/projects/expat/
+    Currently using version 1.95.2.
+    Install into dist\expat.
+    You should also copy expat\Libs\expat.dll into your PCbuild directory,
+    else at least two tests will fail (test_pyexpat and test_sax), and
+    others will erroneously get skipped (at least test_minidom).
 
 
 NOTE ON CONFIGURATIONS