Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f644882

Browse files
committed
Small changes to readme and makefile; tested for 1.5a3!
1 parent 95e8053 commit f644882

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

PC/example_nt/example.mak

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ NULL=nul
3434
# Begin Project
3535
# PROP Target_Last_Scanned "example - Win32 Debug"
3636
CPP=cl.exe
37-
MTL=mktyplib.exe
3837
RSC=rc.exe
38+
MTL=mktyplib.exe
3939

4040
!IF "$(CFG)" == "example - Win32 Release"
4141

@@ -204,7 +204,6 @@ LINK32_OBJS= \
204204
SOURCE=.\example.c
205205
DEP_CPP_EXAMP=\
206206
"..\Include\abstract.h"\
207-
"..\Include\bltinmodule.h"\
208207
"..\Include\ceval.h"\
209208
"..\Include\classobject.h"\
210209
"..\Include\cobject.h"\
@@ -259,7 +258,7 @@ SOURCE=.\readme.txt
259258
################################################################################
260259
# Begin Source File
261260

262-
SOURCE=\python\src\vc40\python15.lib
261+
SOURCE=.\example.def
263262

264263
!IF "$(CFG)" == "example - Win32 Release"
265264

@@ -271,7 +270,7 @@ SOURCE=\python\src\vc40\python15.lib
271270
################################################################################
272271
# Begin Source File
273272

274-
SOURCE=.\example.def
273+
SOURCE=\users\guido\python\src\vc40\python15.lib
275274

276275
!IF "$(CFG)" == "example - Win32 Release"
277276

PC/example_nt/readme.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Example Python extension for Windows NT
44
This directory contains everything you need to build a Python
55
extension module using Microsoft VC++ 4.x ("Developer Studio"), except
66
for the Python distribution. It has been tested most recently with
7-
version 4.2.
7+
version 4.2. (Yes, it has been tested with the latest Python 1.5a3.)
88

99
The "example_nt" subdirectory should be an immediate subdirectory of
1010
the Python source directory -- a direct sibling of Include and PC, in
@@ -16,7 +16,9 @@ they belong.)
1616

1717
It is also assumed that the build results of Python are in the
1818
directory ..\vc40. In particular, the python15.lib file is referred
19-
to as "..\vc40\python15.lib".
19+
to as "..\vc40\python15.lib". If you have problems with this file,
20+
the best thing to do is to delete it from the project and add it
21+
again.
2022

2123
In order to use the example project from Developer Studio, use the
2224
"File->Open Workspace..." dialog (*not* the "File->Open..." dialog!).

0 commit comments

Comments
 (0)