-
-
Notifications
You must be signed in to change notification settings - Fork 277
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
__version__ #100
Comments
I assume you're using pyo3 or rust-cpython, things are different for cffi. While pyo3-pack adds the version from Cargo.toml as the packages version, it can't really change your python module. However, you can easily add
I think that this should become part of the pyo3 docs, and you might also want to have a look at https://github.com/PyO3/pyo3-built/, even though it's a bit outdated. |
Sometimes, at the end of a long day of coding, you find that something is just as easy as it should be. |
It would be cool if pyo3-pack packages defined their version to be the one from cargo.toml automatically.
In the meanwhile, how would I define such a static string for my pymodule?
The text was updated successfully, but these errors were encountered: