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.
If GitPython was installed from Pypi, you can access version information like so:
import git
git.__version__
If a version from GitHub is used, the said variable will hold the value git though, which would make it hard to make a decision unless one would be willing to assume it is the very latest dev version.
Activity
Byron commented on Jul 14, 2015
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 git though, which would make it hard to make a decision unless one would be willing to assume it is the very latest dev version.
Do you find this information helpful ?
PonteIneptique commented on Dec 2, 2015
Sorry to join without being invited, but wouldn't if be possible with normal tools such as :
http://stackoverflow.com/questions/11887762/how-to-compare-version-style-strings
Byron commented on Feb 11, 2016
A new release was just made to pypi 😁 (see #298) !
39 remaining items
Document git.__version__
stsewd commented on May 5, 2019
Agreed with #311 (comment), this just needs documentation
Document git.__version__