-
-
Notifications
You must be signed in to change notification settings - Fork 16
Use python-versioneer to support __version__ #70
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have added some comments here. I think my biggest concern is the complexity of the solution. It seems like a lot of changes and code (including new dependencies) for getting the __version__
property.
@ajaust I totally agree. To me it also seems a bit too much just for getting
Any opinions on the suggestions above? |
@BenjaminRueth I am much more supporting of the changes now some more explanations regarding So I am fine with using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The solution looks quite complicated but purely from the user perspective the bindings work as expected.
#63) * Improve readability and check uses_pip, before warnings * Require pip >= 19.0.0, if installed via pip. * Update documentation. pip3 19.0.0 is minimum requirement. Remove troubleshooting for unsupported pip versions. * Make command in Exception consistent with README.md * Make packaging optional for warnings, add note on #70 * Update CHANGELOG.md Co-authored-by: Benjamin Rüth <benjamin.rueth@tum.de>
This PR restructures the structure of this repository in the following way:
cyprecice
provides the cython extensiontest
provides (as before) the testprecice
provides a pure python packageThis restructuring was necessary, since I could not find a nice way to implement support for
__version__
in a cython-based package. However, for a python based package (whichprecice
now is) there is https://github.com/python-versioneer/python-versioneer, which comes with some additional features.Closes #50