Skip to content

setup.py: Support MinGW Windows build#297

Merged
ntamas merged 1 commit intoigraph:masterfrom
theCapypara:mingw-support
Jul 14, 2020
Merged

setup.py: Support MinGW Windows build#297
ntamas merged 1 commit intoigraph:masterfrom
theCapypara:mingw-support

Conversation

@theCapypara
Copy link
Copy Markdown
Contributor

Currently the setup.py tries to compile the Python extension using Visual Studio / MSVC.

However some workflows may use the MinGW version of Python instead (eg. when using GTK+ with Python). Building it is pretty simple, it can just be installed like on Linux and the Msys requirements are the same as for the build of the C core.

This pull request changes the check for build on Windows to only use MSVC when running the "native"/official CPython interpreter.

@ntamas
Copy link
Copy Markdown
Member

ntamas commented May 15, 2020

Thanks! I'll check this PR soon; it seems like there's something wrong with Appveyor right now so the build fails there, but it's probably unrelated to the PR.

I'll try to fix Appveyor first and then merge this if the build passes there.

@ntamas
Copy link
Copy Markdown
Member

ntamas commented May 15, 2020

Can you please merge this commit into your PR to fix the Appveyor CI build?

@stale
Copy link
Copy Markdown

stale bot commented Jul 14, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jul 14, 2020
@ntamas ntamas added todo Triaged for implementation in some unspecified future version and removed stale labels Jul 14, 2020
@ntamas ntamas merged commit 0ab5d0b into igraph:master Jul 14, 2020
@ntamas
Copy link
Copy Markdown
Member

ntamas commented Jul 14, 2020

Thanks a lot and sorry for the delay!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

todo Triaged for implementation in some unspecified future version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants