dist_info_mtime

dist_info_mtime(distribution_name: str) datetime[source]

Modification time of the dist info, current time if editable installed.

This should basically be the same as the installation time for packages installed from source in a none editable mode.

Parameters:

distribution_name (str) – The name of the distribution package as a string.

Returns:

Time the dist-info was packaged or current time if not found.

Return type:

datetime