package documentation

Versions for Python packages.

See Version.

Package tests No package docstring; 2/2 modules documented
Module update Undocumented
Module _version Provides Incremental version information.

From __init__.py:

Class Version An encapsulation of a version for a project, with support for outputting PEP-440 compatible version strings.
Exception IncomparableVersions Two versions could not be compared.
Function getVersionString Get a friendly string for the given version object.
Class _Inf An object that is bigger than all other objects.
Function _cmp Compare two objects.
Function _get_version Get the version from the package listed in the Distribution.
Function _setuptools_version Undocumented
Type Variable _T Undocumented
Variable _inf Undocumented
_T =

Undocumented

Value
TypeVar('_T',
        contravariant=True)
def _cmp(a, b):

Compare two objects.

Returns a negative number if a < b, zero if they are equal, and a positive number if a > b.

_inf =

Undocumented

def getVersionString(version):

Get a friendly string for the given version object.

Parameters
versionA Version object.
Returns
A string containing the package and short version number.
def _get_version(dist, keyword, value):

Get the version from the package listed in the Distribution.

def _setuptools_version():

Undocumented