[Python-Dev] Any tips to tell sprinter at PyCon about developing on Windows?

Tim Golden mail at timgolden.me.uk
Sun Feb 3 13:46:15 CET 2008


Christian Heimes wrote:
> Tim Golden wrote:
>> Just a note for those using the Express Edition: the build.bat file
>> which builds the Python project on the command line assumes that the
>> name of the executable is devenv.exe. In fact, for "Visual Studio Express
>> 2008 for C++" (or whatever it's called) the executable is vcexpress.exe.
>> Basically, whatever .exe the Start Menu shortcut for Visual Studio Express
>> points to, that's your filename. Change it in the build.bat file and Bob's
>> Your Uncle!
> 
> Does the VS Express Edition have the "vcbuild" command? The build bots
> are using vcbuild instead of devenv. The professional edition has it.
> 
> c:\dev\python\trunk\PCbuild>vcbuild /useenv pcbuild.sln "Release|Win32"
> Microsoft (R) Visual C++ Project Builder - Command Line Version 9.00.21022

It does (under vc\vcpackages). My development laptop's upstairs but I'll
try out the command above when I get a chance later. While you're there,
the HEAD version of Lib\distutils\command\build_ext.py still refers to
pcbuild9 instead of pcbuild which is preventing extensions from finding
python26.dll. It's a trivial fix so you could probably get it in faster
than I can build and submit the patch. (I'll check later on and put a
patch in if you haven't had a chance).

Thanks

TJG


More information about the Python-Dev mailing list