python 动态库的编译脚本

::by windviki
::2013/03/08
::Error in script usage. The correct usage is:
::    vcvarsall.bat [option]
::where [option] is: x86 | ia64 | amd64 | x86_amd64 | x86_ia64
call "E:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
::
::-p
::--plat-name must be one of ('win32', 'win-amd64', 'win-ia64')
::
::-c
::List of available compilers:
::--compiler=bcpp     Borland C++ Compiler
::--compiler=cygwin   Cygwin port of GNU C Compiler for Win32
::--compiler=emx      EMX port of GNU C Compiler for OS/2
::--compiler=mingw32  Mingw32 port of GNU C Compiler for Win32
::--compiler=msvc     Microsoft Visual C++
::--compiler=mwerks   MetroWerks CodeWarrior
::--compiler=unix     standard UNIX-style compiler
L:\Script\Python26\python setup.py build -c msvc -p win32
L:\Script\Python27\python setup.py build -c msvc -p win32
::
call "E:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" amd64
L:\Script\Python26-64\python setup.py build -c msvc -p win-amd64
L:\Script\Python27-64\python setup.py build -c msvc -p win-amd64
@pause


来自为知笔记(Wiz)Time=2013-03-08 21:30:55


posted on 2013-05-19 22:14  windviki  阅读(1159)  评论(0编辑  收藏  举报