Skip to content

Conversation

@blokhin
Copy link
Member

@blokhin blokhin commented Jul 6, 2022

otherwise the Python is taken from /usr/bin/python which can lead to some weird import problems

@blokhin blokhin requested review from ansobolev and irygaev July 6, 2022 13:50
@blokhin
Copy link
Member Author

blokhin commented Nov 11, 2022

/prbot describe

find_program(PYTHON "python")
set(PYTHON "python")

if (PYTHON)
Copy link
Member

Choose a reason for hiding this comment

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

Seems to be fine; however, what if a user does not have Python installed on the system? Previously the build system worked in such a way that factpp was able to be built from the root directory even if Python bindings were not needed. However, this PR makes it impossible. If you are OK with that, feel free to merge

@blokhin
Copy link
Member Author

blokhin commented Jun 16, 2025

@knopki there’s some hidden complexity here as you can see

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants