[Python-checkins] CVS: python/dist/src/PC/example_nt example.dsp,1.5,1.6 readme.txt,1.10,1.11
Tim Peters
tim_one@users.sourceforge.net
Sat, 15 Dec 2001 14:27:04 -0800
Update of /cvsroot/python/python/dist/src/PC/example_nt
In directory usw-pr-cvs1:/tmp/cvs-serv6600/python/PC/example_nt
Modified Files:
example.dsp readme.txt
Log Message:
Update the example Windows extension to 2.2 (was hardcoded to 2.1).
Index: example.dsp
===================================================================
RCS file: /cvsroot/python/python/dist/src/PC/example_nt/example.dsp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** example.dsp 2001/01/19 08:45:48 1.5
--- example.dsp 2001/12/15 22:27:01 1.6
***************
*** 54,58 ****
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386
! # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib python21.lib /nologo /subsystem:windows /dll /machine:I386 /libpath:"..\PCbuild" /export:initexample
# SUBTRACT LINK32 /pdb:none
--- 54,58 ----
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386
! # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib python22.lib /nologo /subsystem:windows /dll /machine:I386 /libpath:"..\PCbuild" /export:initexample
# SUBTRACT LINK32 /pdb:none
***************
*** 81,85 ****
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386
! # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib python21_d.lib /nologo /subsystem:windows /dll /debug /machine:I386 /out:".\Debug/example_d.dll" /libpath:"..\PCbuild" /export:initexample
# SUBTRACT LINK32 /pdb:none
--- 81,85 ----
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386
! # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib python22_d.lib /nologo /subsystem:windows /dll /debug /machine:I386 /out:".\Debug/example_d.dll" /libpath:"..\PCbuild" /export:initexample
# SUBTRACT LINK32 /pdb:none
Index: readme.txt
===================================================================
RCS file: /cvsroot/python/python/dist/src/PC/example_nt/readme.txt,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** readme.txt 2001/01/19 19:17:46 1.10
--- readme.txt 2001/12/15 22:27:01 1.11
***************
*** 5,9 ****
distribution!) to build a Python extension module using Microsoft VC++
("Developer Studio") version 6. It has been tested with VC++ 6.0 on Python
! 2.1a1. You can also use earlier versions of VC to build Python extensions,
but the sample VC project file (example.dsw in this directory) is in VC 6
format.
--- 5,9 ----
distribution!) to build a Python extension module using Microsoft VC++
("Developer Studio") version 6. It has been tested with VC++ 6.0 on Python
! 2.2c1. You can also use earlier versions of VC to build Python extensions,
but the sample VC project file (example.dsw in this directory) is in VC 6
format.
***************
*** 55,65 ****
Adding parser accelerators ...
Done.
! Python 2.1a1 (#9, Jan 17 2001, 23:26:37) [MSC 32 bit (Intel)] on win32
! Type "copyright", "credits" or "license" for more information.
>>> import example
! [4897 refs]
>>> example.foo()
Hello, world
! [4903 refs]
>>>
--- 55,65 ----
Adding parser accelerators ...
Done.
! Python 2.2c1+ (#28, Dec 14 2001, 18:06:39) [MSC 32 bit (Intel)] on win32
! Type "help", "copyright", "credits" or "license" for more information.
>>> import example
! [7052 refs]
>>> example.foo()
Hello, world
! [7052 refs]
>>>
***************
*** 71,76 ****
C>..\..\PCbuild\python
! Python 2.1a1 (#9, Jan 17 2001, 23:26:37) [MSC 32 bit (Intel)] on win32
! Type "copyright", "credits" or "license" for more information.
>>> import example
>>> example.foo()
--- 71,76 ----
C>..\..\PCbuild\python
! Python 2.2c1+ (#28, Dec 14 2001, 18:06:04) [MSC 32 bit (Intel)] on win32
! Type "help", "copyright", "credits" or "license" for more information.
>>> import example
>>> example.foo()
***************
*** 145,153 ****
Select "Win32 Release" in the "Settings for:" dropdown list. Click the
! "Link" tab, choose the "Input" Category, and append "python21.lib" to the
list in the "Object/library modules:" box.
Select "Win32 Debug" in the "Settings for:" dropdown list, and append
! "python21_d.lib" to the list in the "Object/library modules:" box. Then
click on the C/C++ tab, select "Code Generation" from the "Category:"
dropdown list, and select "Debug Multithreaded DLL" from the "Use run-time
--- 145,153 ----
Select "Win32 Release" in the "Settings for:" dropdown list. Click the
! "Link" tab, choose the "Input" Category, and append "python22.lib" to the
list in the "Object/library modules:" box.
Select "Win32 Debug" in the "Settings for:" dropdown list, and append
! "python22_d.lib" to the list in the "Object/library modules:" box. Then
click on the C/C++ tab, select "Code Generation" from the "Category:"
dropdown list, and select "Debug Multithreaded DLL" from the "Use run-time