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


转载于:https://www.cnblogs.com/windviki/archive/2013/05/19/3087710.html

你可能感兴趣的:(python 动态库的编译脚本)