Hi, I have some Python programs running on Windows that require pywin32 to be installed. I want to leverage our CI environment to automatically test and freeze them for me. Our CI uses tox so I need to be able to install pywin32 using pip. I've never built a python package before but after some reading it seems like wheel is the way to go, especially on Windows if you want to avoid compiling each time (and I do).
Here's where I get stuck. The PUG relies heavily on being able to install something with pip in order to create your wheel. I've never been able to install pywin32 via pip (no idea why it isn't up there--even if I did need to compile it). Is there a way I can create a wheel by using the prebuilt binaries since they are just zip archives? I would prefer to do it this way. if not... I tried to compile pywin32 so I could build a wheel by running python setup3.py bdist_wheel. However, I can't seem to get 216-218 to compile. I'm using Python 3.3.5rc1 64-bit on W7. Attempt #1 (pywin32-218): 1. set MSSDK="C:\Program Files\Microsoft SDKs\Windows\v7.1" 2. python setup3.py build --plat-name=win-amd64 I got this error: win32\src\perfmon\perfmondata.cpp(11) : fatal error C1083: Cannot open include file: 'perfutil.h': No such file or directory error: command '"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe"' failed with exit status 2 The entire output has been saved here: http://goo.gl/GqVs6h This seems to be exactly what this open ticket is about: http://sourceforge.net/p/pywin32/bugs/647/ and this user also reported it: http://code.activestate.com/lists/python-win32/12627/ Note: The only thing that looks suspect to me is v6.0A and v7.0A x86 SDK paths when it seems it should be using 7.1 per my MSSDK variable. But as far as I can tell perfutil.h is not part of those SDKs. I was only able to find it in previous releases (217) of pywin32. Attempt #2 (pywin32-217): 1. set MSSDK="C:\Program Files\Microsoft SDKs\Windows\v7.1" 2. python setup3.py build --plat-name=win-amd64 I got this error: Building pywin32 3.3.217.0 Traceback (most recent call last): File "setup3.py", line 16, in <module> exec(str(got)) File "<string>", line 2428, in <module> File "<string>", line 2224, in convert_data_files RuntimeError: No files match 'pythonwin\pywin\*.cfg' There are two .cfg files in pywin: default.cfg IDLE.cfg Attempt #3 (pywin32-216): same results as #2. While I am extremely thankful someone wrote pywin32, it is a monster to build. That, and my lack of package building experience doesn't help. I would appreciate some help building a wheel of pywin32 very much! -- -Vye _______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32