Skip to content

Support FindPython.#712

Merged
henryiii merged 5 commits intoscikit-build:masterfrom
hameerabbasi:find-python
May 17, 2022
Merged

Support FindPython.#712
henryiii merged 5 commits intoscikit-build:masterfrom
hameerabbasi:find-python

Conversation

@hameerabbasi
Copy link
Copy Markdown
Contributor

@hameerabbasi hameerabbasi commented May 17, 2022

Closes #506 and closes #516 and closes #553.

@hameerabbasi hameerabbasi force-pushed the find-python branch 3 times, most recently from 53d59d4 to 9df6eb0 Compare May 17, 2022 07:14
@hameerabbasi hameerabbasi mentioned this pull request May 17, 2022
@hameerabbasi hameerabbasi force-pushed the find-python branch 2 times, most recently from e4ea453 to 2601aa7 Compare May 17, 2022 08:43
install(TARGETS ${python_module_name} DESTINATION .)

# Quiet a warning, since this project is only valid with SKBUILD
set(ignoreMe "${SKBUILD}")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Technically, we now have a lot of variables that are going to produce warnings (this is why I haven't applied this sort of a fix yet. But I think it's fine, and I have a long term idea for fixing these warnings). Not sure it makes sense to just quiet this one anymore. But again, not for this PR.

@hameerabbasi
Copy link
Copy Markdown
Contributor Author

I've gone through and applied the simple fixes suggested in the review.

Copy link
Copy Markdown
Contributor

@henryiii henryiii left a comment

Choose a reason for hiding this comment

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

I think this is good. We sadly will produce unused variable warnings, but that's unavoidable for now, and I think I have a general solution to be applied later. I think we should get this in so we get it into a final Python 2 release. Thanks!

@henryiii
Copy link
Copy Markdown
Contributor

We'll need to rebase #485 on this, so let's get it in. Thank you!

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.

FindPython support

2 participants