Skip to content

[QUESTION] how to expose the version of pybind11 that a package is built with (to be readable from Python) #4798

Answered by evguran
slayoo asked this question in Q&A
Discussion options

You must be logged in to vote

I believe it is up to you to choice in which container to store the data, and what you suggested is good for a "versioning" of a big number of C++ libs. You named only few though, so in this case I would prefer string attributes __version_of_pybind11__ etc.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@slayoo
Comment options

@slayoo
Comment options

Answer selected by slayoo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants