Skip to content

Conversation

davidhewitt
Copy link
Member

Closes #179

This uses sysconfig.get_config_var("EXE") to correctly find the correct file to copy.

After #154 I think the windows CI for hello_world example was incorrectly passing because the launcher script would just run print("can't execute '{name}'") and exit successfully. With this patch the CI now passes properly.

@davidhewitt davidhewitt merged commit 4400cf1 into PyO3:main Nov 21, 2021
@davidhewitt davidhewitt deleted the fix-windows-exec branch November 21, 2021 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using binding=Binding.Exec in Windows does not copy the .exe but the .d file

1 participant