autoversion

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


Keywords
autoversion, __autoversion__, __version__, __version__tuple__, version, git
License
MIT
Install
pip install autoversion==1.2.2

Documentation

``__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