__autoversion__

Obtain installed version of package automatically, even if it is installed using editable or develop

MIT License

Downloads
111
Stars
3
Committers
1

__autoversion__ -- What's your number?

Automatically obtain the version number of the importer, retrieving it from pkg_resources or source control if necessary.

Example:

# my fancy module
from __autoversion__ import __version__, __version_tuple__

Current support:

  • Git