Skip to main content

A simple python project used for updating the qualifier part of the version for python projects.

Project description

qualifier

Build Status

Traivs: Build Status

Circleci: CircleCI

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:

  1. If the HEAD is tagged and the branch is master then __QUALIFIER__ will not be updated
  2. If the HEAD is not tagged and the branch is master then __QUALIFIER__ will be updated to rc<epoch>
  3. 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.6.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

qualifier-1.6.0-py2.py3-none-any.whl (3.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file qualifier-1.6.0.tar.gz.

File metadata

  • Download URL: qualifier-1.6.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.0

File hashes

Hashes for qualifier-1.6.0.tar.gz
Algorithm Hash digest
SHA256 e7e061aa6cc33f13e991bce13541f0a05b8de3bc10c11255b550f0e8acccd103
MD5 8b839dc9e378e759e438fa54484e49f7
BLAKE2b-256 df531d813ebfc44d8d707990f2778f2e733acf6dcf39d2482813204160148a40

See more details on using hashes here.

File details

Details for the file qualifier-1.6.0-py2.py3-none-any.whl.

File metadata

  • Download URL: qualifier-1.6.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.0

File hashes

Hashes for qualifier-1.6.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9db2a12666b9c7b77f0797851235a39a8f2686c28bef50a1dc49fd78d7412dc3
MD5 39cfa14866cab15ec02a8e250680b922
BLAKE2b-256 4247a05dd67fd39007a56dc0e117e45da98211a360267e2e8ce713d330b7498b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page