Skip to content
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

Update PATH when running generate_stubs on Windows #637

Merged
merged 5 commits into from
Nov 23, 2023

Conversation

jorisv
Copy link
Contributor

@jorisv jorisv commented Nov 20, 2023

generate_stubs need to load an uninstalled Python binding.
This can be an issue when the Python binding have internal dependencies on Windows.
This PR modify the PATH to allow Python to find those internal dependencies.

On Linux and Mac, this is not an issue thanks to the RPATH.

@jorisv jorisv self-assigned this Nov 22, 2023
@jorisv jorisv marked this pull request as ready for review November 22, 2023 10:14
@jorisv jorisv marked this pull request as draft November 22, 2023 10:16
@jorisv jorisv marked this pull request as ready for review November 22, 2023 10:35
@jorisv jorisv requested a review from nim65s November 22, 2023 10:36
Copy link
Collaborator

@nim65s nim65s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't really help reviewing this, as my knowledge with WIN32 is null, sorry.

@jorisv jorisv marked this pull request as draft November 22, 2023 12:46
@jorisv
Copy link
Contributor Author

jorisv commented Nov 23, 2023

I can't really help reviewing this, as my knowledge with WIN32 is null, sorry.

Ok, no problem, you can remove yourself from the review (I didn't find if I can do it myself).

@jorisv jorisv requested a review from jcarpent November 23, 2023 13:04
@jorisv jorisv marked this pull request as ready for review November 23, 2023 13:07
@jorisv jorisv merged commit 0468780 into jrl-umi3218:master Nov 23, 2023
2 checks passed
@jorisv jorisv deleted the topic/stub_windows_path branch November 23, 2023 13:17
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.

2 participants