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.0.tar.gz
(2.8 kB
view details)
File details
Details for the file autoversion-1.2.0.tar.gz
.
File metadata
- Download URL: autoversion-1.2.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf5867e5c65305faa2cbdf7f92566f9f568dc3a0e295be59f9b1c62ee9c150e5 |
|
MD5 | 3880c1df36fbc8a43383985dc1d63de1 |
|
BLAKE2b-256 | 6260bfd530d16c8a170bc1e4de5c7eaba463422c26a6e0339e8fba9d42c7f12e |