Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upProvide/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 |
Closes gitpython-developers#311
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.