From: Guido van Rossum Date: Wed, 13 Aug 1997 23:07:44 +0000 (+0000) Subject: Small changes to readme and makefile; tested for 1.5a3! X-Git-Tag: v1.5a3~73 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f644882fb4ce793745ea5e0d25ed93b851a6a4d1;p=python Small changes to readme and makefile; tested for 1.5a3! --- diff --git a/PC/example_nt/example.mak b/PC/example_nt/example.mak index ff8b8569f7..e18e701f47 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 142488256e..db8d363ed2 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!).