-
Notifications
You must be signed in to change notification settings - Fork 801
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[REQ] Install instructions for pywin32 under MingGW/msys2 #1552
Comments
These are stale, yes. My patches are not included in the master for MINGW-packages yet. But you can find them here:
You'll need to do a bunch more. See the
I'm interested in writing instruction and getting CI builds working for mingw. But I'd say it's too early now. This is still a WIP. You can see the current progress here: msys2/MINGW-packages#5615. It turned out to be quite the task. It included a bunch of patches in TL;DR |
I'd like to understand that issue better, but it's a commonly reported problem when there are duplicate DLLs etc installed (eg, from another or different installation). 3.8 installs seem to work OK on a clean system (although obviously not any mingw specific stuff).
I'd advise against putting too much effort into anything 2.7 specific - I'm hoping to land #1510 in the next week or 2, which will remove all 2.x support forever. That branch also has better CI integration which should make some things easier. Let me know if I can help further. |
Hi Mark and all.. I had successfully built pywin32 on mingw-w64. Using Python v3.5.2 (x64) & MinGW-w64 5.3.0 (mingw-build). Here is the build log: pywin32-220-3.5-w64-5.3.0-build.txt Install log: pywin32-220-3.5-w64-5.3.0-install.txt Some changes are required to support UNICODE for the includes files from Win SDK 7.1 & Exchange. I also had to use libs from winddk 7.1 in order to compile successfully: Here is the patch: |
Thanks - but that's a massive patch, and if it was against build 220, is almost certainly out of date. Any chance of a pull request? |
could you provide the mingw_x64 pywin32 .whl file? |
Not until it actually builds. |
Note to readers that |
There are notes in CHANGES.txt discussing work by @joankaradimov to make pywin32 buildable under MingGW/msys2
but there are no relevant instructions in build_env.md as to how to build it.
There seems to be some interesting patches listed in mingw-w64-python-pywin32, but since it never released, its hard to tell how stale these patches are.
Doing the obvious stuff yields obvious errors
yields
Thoughts?
The text was updated successfully, but these errors were encountered: