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.2.1.tar.gz
(2.8 kB
view details)
File details
Details for the file autoversion-1.2.1.tar.gz
.
File metadata
- Download URL: autoversion-1.2.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2027c86117ff58891d66b249c793cebec3eadd369daa62b98358beb07be70920 |
|
MD5 | e21dbef5838ea68f6f848f6d88b3ee60 |
|
BLAKE2b-256 | ad9526e98a7a6f744a05406ad0b2a54ff5cdaef3927b78a8582b3f46fd661c58 |