Obtain installed version of package automatically, even if it is installed using editable or develop
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
autoversion-1.1.1.tar.gz
(2.7 kB
view details)
File details
Details for the file autoversion-1.1.1.tar.gz
.
File metadata
- Download URL: autoversion-1.1.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aebe4d8537d7f34f33191201e110b148fd286c20df81157c0e71f5619e8f1713 |
|
MD5 | e80a1ec989b1a47c9466a4e2ac9bb74f |
|
BLAKE2b-256 | a351acb02291f84dfef00844d14de991fee2ee78483cef6af365ef941aa2947b |