[python-win32] Using pip to install pywin32
Thomas Heller
theller at ctypes.org
Fri Feb 20 16:24:04 CET 2015
Am 20.02.2015 um 15:07 schrieb Vernon D. Cole:
> Pywin32 is mostly written in C, and has lots of dependencies and weird
> build requirements. In order to compile it, you must have the same C
> compiler that your release of Python was built with. For older Python
> versions (like 2.7) that compiler is obsolete and hard to find, so
> installs from source are pretty nearly impossible.
>
> Would a binary wheel be able to do all of the crazy set up that the
> Windows installer does?
AFAIK, wheel do not support post_install scripts.
According to the comments in Scripts\pywin32_postinstall.py, it does:
# copies PyWinTypesxx.dll and PythonCOMxx.dll into the system directory,
# and creates a pth file
According to the code, it does a lot more...
I don't think pip can run this script (it even needs admin privs!).
Thomas
More information about the python-win32
mailing list