module texthelper.version_helper
¶
Short summary¶
module pyquickhelper.texthelper.version_helper
Helpers about versionning.
Functions¶
function |
truncated documentation |
---|---|
Compares two versions. |
|
Converts a string into a tuple with numbers wherever possible. |
Documentation¶
Helpers about versionning.
- pyquickhelper.texthelper.version_helper.compare_module_version(num, vers)[source]¶
Compares two versions.
- Parameters:
num – first version
vers – second version
- Returns:
-1, 0, 1
This function implements something similar to StrictVersion (from distutils) but probably more simple.