summaryrefslogtreecommitdiffstats
path: root/PC/example_nt
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-08-13 23:07:44 (GMT)
committerGuido van Rossum <guido@python.org>1997-08-13 23:07:44 (GMT)
commitf644882fb4ce793745ea5e0d25ed93b851a6a4d1 (patch)
tree9033cb63443a1955346d0b089dcfe24f222d3bef /PC/example_nt
parent95e8053a9ff42a544197e562fdf4c462fc34e8b4 (diff)
downloadcpython-f644882fb4ce793745ea5e0d25ed93b851a6a4d1.zip
cpython-f644882fb4ce793745ea5e0d25ed93b851a6a4d1.tar.gz
cpython-f644882fb4ce793745ea5e0d25ed93b851a6a4d1.tar.bz2
Small changes to readme and makefile; tested for 1.5a3!
Diffstat (limited to 'PC/example_nt')
-rw-r--r--PC/example_nt/example.mak7
-rw-r--r--PC/example_nt/readme.txt6
2 files changed, 7 insertions, 6 deletions
diff --git a/PC/example_nt/example.mak b/PC/example_nt/example.mak
index ff8b856..e18e701 100644
--- a/PC/example_nt/example.mak
+++ b/PC/example_nt/example.mak
@@ -34,8 +34,8 @@ NULL=nul
# Begin Project
# PROP Target_Last_Scanned "example - Win32 Debug"
CPP=cl.exe
-MTL=mktyplib.exe
RSC=rc.exe
+MTL=mktyplib.exe
!IF "$(CFG)" == "example - Win32 Release"
@@ -204,7 +204,6 @@ LINK32_OBJS= \
SOURCE=.\example.c
DEP_CPP_EXAMP=\
"..\Include\abstract.h"\
- "..\Include\bltinmodule.h"\
"..\Include\ceval.h"\
"..\Include\classobject.h"\
"..\Include\cobject.h"\
@@ -259,7 +258,7 @@ SOURCE=.\readme.txt
################################################################################
# Begin Source File
-SOURCE=\python\src\vc40\python15.lib
+SOURCE=.\example.def
!IF "$(CFG)" == "example - Win32 Release"
@@ -271,7 +270,7 @@ SOURCE=\python\src\vc40\python15.lib
################################################################################
# Begin Source File
-SOURCE=.\example.def
+SOURCE=\users\guido\python\src\vc40\python15.lib
!IF "$(CFG)" == "example - Win32 Release"
diff --git a/PC/example_nt/readme.txt b/PC/example_nt/readme.txt
index 1424882..db8d363 100644
--- a/PC/example_nt/readme.txt
+++ b/PC/example_nt/readme.txt
@@ -4,7 +4,7 @@ Example Python extension for Windows NT
This directory contains everything you need to build a Python
extension module using Microsoft VC++ 4.x ("Developer Studio"), except
for the Python distribution. It has been tested most recently with
-version 4.2.
+version 4.2. (Yes, it has been tested with the latest Python 1.5a3.)
The "example_nt" subdirectory should be an immediate subdirectory of
the Python source directory -- a direct sibling of Include and PC, in
@@ -16,7 +16,9 @@ they belong.)
It is also assumed that the build results of Python are in the
directory ..\vc40. In particular, the python15.lib file is referred
-to as "..\vc40\python15.lib".
+to as "..\vc40\python15.lib". If you have problems with this file,
+the best thing to do is to delete it from the project and add it
+again.
In order to use the example project from Developer Studio, use the
"File->Open Workspace..." dialog (*not* the "File->Open..." dialog!).