8000 BUG: Fix moving compiled executable to root with f2py -c on Windows by charris · Pull Request #25218 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

BUG: Fix moving compiled executable to root with f2py -c on Windows #25218

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

Merged
merged 1 commit into from
Nov 21, 2023

Conversation

charris
Copy link
Member
@charris charris commented Nov 21, 2023

Backport of #25160.

This is a follow up to #25000 (bug report) and #25073 (PR) which fixed f2py compilation under Windows using f2py -c by declaring quadmath as dependency and referring to compatible Windows toolchains in the documentation.

The f2py compile still does not work as expected under Windows as the compiled binary is not moved to the root directory after compile. This PR fixes that by searching for *.pyd files in addition to *.so files in the build directory.

@charris charris added this to the 1.26.3 release milestone Nov 21, 2023
@charris charris merged commit 52388f8 into numpy:maintenance/1.26.x Nov 21, 2023
@charris charris deleted the backport-25160 branch November 21, 2023 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0