A simple python project used for updating the qualifier part of the version for python projects.
Project description
qualifier
Description:
A simple python project used for updating the qualifier part of the version for python projects.
Expectation:
This project expects setup.py of this format
from setuptools import setup
__QUALIFIER__ = ""
setup(
name="qualifier",
version="1.0.0" + __QUALIFIER__,
...)
On running the command update_qualifier
which is provided on installing this project as shell command,
__QUALIFIER__
would be update based the rules.
Rules:
- If the HEAD is tagged and the branch is master then
__QUALIFIER__
will not be updated - If the HEAD is not tagged and the branch is master then
__QUALIFIER__
will be updated torc<epoch>
- If the HEAD is not tagged and the branch is not master then
__QUALIFIER__
will be updated to.dev<epoch>
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
qualifier-1.2.0.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for qualifier-1.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e50b2cb1929c69f7082f40134de4bef6e7aed80ae8af20aa35edbc5d960f8da |
|
MD5 | b28b1cb631c59eaaf11ac56167645285 |
|
BLAKE2b-256 | b56a0667ebe1c9ede3cb1a35f11bb15384b7090c7f6e507c5c1b604a5ded6271 |