From: train on
Pyinstaller works fine on Windows XP. I am trying to get it working on
WINE. Running results in asking for pywin32, however pywin 32 will not

Building pywin32
This is a distutils setup-script for the pywin32 extensions

To build the pywin32 extensions, simply execute:
python -q build
python -q install
to build and install into your current Python installation.

These extensions require a number of libraries to build, some of which
require you to install special SDKs or toolkits. This script will
to build as many as it can, and at the end of the build will report
extension modules that could not be built and why.
Currently, the Vista SDK and DirectX SDK are required to successfully
all extension modules - note that using the Vista SDK doesn't force
you to
use Vista as your build environment. Please use google to find the
links to seem to only stay current for a short time.
Also note
that the SDK that comes with VS2008 is not good enough to compile
versions. If you installed VS2008 after the Vista SDK, try doing a
on your SDK install.

Early versions of certain Windows headers/SDK versions will also cause
certain modules to be skipped. If you don't use the extensions that
fail to
build, you can ignore these warnings; if you do use them, you must
the correct libraries.

The 'exchange' extensions require headers that are no longer in any
SDKs, so these fail to build, but the 'mapi' extension should still


To install the pywin32 extensions, execute:
python -q install

This will install the built extensions into your site-packages
create an appropriate .pth file, and should leave everything ready to
There is no need to modify the registry.

To build or install debug (_d) versions of these extensions, ensure
you have
built or installed a debug version of Python itself, then pass the "--
flag to the build command - eg:
python -q build --debug
or to build and install a debug version:
python -q build --debug install

To build 64bit versions of this:

* py2.5 and earlier - sorry, I've given up in disgust. Using VS2003
the Vista SDK is just too painful to make work, and VS2005 is not
used for
any released versions of Python. See revision 1.69 of this file for
last version that attempted to support and document this process.

* 2.6 and later: On a 64bit OS, just build as you would on a 32bit
On a 32bit platform (ie, to cross-compile), you must use VS2008 to
cross-compile Python itself. Note that by default, the 64bit tools
are not
installed with VS2008, so you may need to adjust your VS2008 setup.
use: build --plat-name=win-amd64

see the distutils cross-compilation documentation for more details.

Standard usage information follows:
usage: [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: --help [cmd1 cmd2 ...]
or: --help-commands
or: cmd --help

error: no commands supplied
C:\pywin32-214>c:\python26\python -q install
Building pywin32
error: Unable to find vcvarsall.bat

Pages: 1
Prev: Human word reader
Next: Reading XML namespaces