@@ -4,7 +4,7 @@ Example Python extension for Windows NT
44This directory contains everything needed (except for the Python
55distribution!) to build a Python extension module using Microsoft VC++
66("Developer Studio") version 6. It has been tested with VC++ 6.0 on Python
7- 2.0b1 . You can also use earlier versions of VC to build Python extensions,
7+ 2.1a1 . You can also use earlier versions of VC to build Python extensions,
88but the sample VC project file (example.dsw in this directory) is in VC 6
99format.
1010
@@ -22,7 +22,9 @@ OPEN THE PROJECT
2222From VC 6.x, use the
2323 File -> Open Workspace...
2424dialog (*not* the "File -> Open..." dialog!). Navigate to and select the
25- file "example.dsw". Click Open.
25+ file "example.dsw", in the *copy* of the example_nt directory you made
26+ above.
27+ Click Open.
2628
2729BUILD THE EXAMPLE DLL
2830---------------------
@@ -52,14 +54,14 @@ debug output from Python may not match this screen dump exactly):
5254 C>..\..\PCbuild\python_d
5355 Adding parser accelerators ...
5456 Done.
55- Python 2.0b1 (#0, Jul 1 2000, 11:29:37 ) [MSC 32 bit (Intel)] on win32
57+ 2.1a1 (#9, Jan 17 2001, 23:26:42 ) [MSC 32 bit (Intel)] on win32
5658 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
5759 Copyright 1995-2000 Corporation for National Research Initiatives (CNRI)
5860 >>> import example
59- [8830 refs]
61+ [4897 refs]
6062 >>> example.foo()
6163 Hello, world
62- [8830 refs]
64+ [4903 refs]
6365 >>>
6466
6567TESTING THE RELEASE-MODE DLL
@@ -69,9 +71,8 @@ example_nt\Release. You should now be able to repeat the following session
6971("C>" is the DOS prompt, ">>>" is the Python prompt):
7072
7173 C>..\..\PCbuild\python
72- Python 2.0b1 (#0, Jul 1 2000, 11:28:35) [MSC 32 bit (Intel)] on win32
73- Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
74- Copyright 1995-2000 Corporation for National Research Initiatives (CNRI)
74+ Python 2.1a1 (#9, Jan 17 2001, 23:26:37) [MSC 32 bit (Intel)] on win32
75+ Type "copyright", "credits" or "license" for more information.
7576 >>> import example
7677 >>> example.foo()
7778 Hello, world
@@ -123,7 +124,7 @@ Use the
123124dialog to create a new Project Workspace. Select "Win32 Dynamic-Link
124125Library", enter the name ("spam"), and make sure the "Location" is set to
125126the spam directory you have created (which should be a direct subdirectory
126- of the Python build tree, a sibling of Inclue and PC). Select Win32 as the
127+ of the Python build tree, a sibling of Include and PC). Select Win32 as the
127128platform (in my version, this is the only choice). Make sure the "Create
128129new workspace" radio button is selected. Click OK.
129130
0 commit comments