-
-
Notifications
You must be signed in to change notification settings - Fork 906
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
Provide/document a way how to find out the current version of GitPython #311
Comments
If GitPython was installed from Pypi, you can access version information like so:
If a version from GitHub is used, the said variable will hold the value Do you find this information helpful ? |
If you document that there is this variable and how to parse it so that on can test whether the current GitPython version is greater that given version, I'd be perfectly satisfied :-) |
Sorry to join without being invited, but wouldn't if be possible with normal tools such as : from distutils.version import LooseVersion, StrictVersion
LooseVersion("2.3.1") < LooseVersion("10.1.2")
StrictVersion("2.3.1") < StrictVersion("10.1.2") http://stackoverflow.com/questions/11887762/how-to-compare-version-style-strings |
A new release was just made to pypi 😁 (see #298) ! |
Agreed with #311 (comment), this just needs documentation |
Because of the problem which I've described under 96c6ab4, I'd like to ask you to provide this information so that one can use the GitPython version to write a software which must be compatible with different GitPython versions.
The text was updated successfully, but these errors were encountered: