Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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.

Files for qualifier, version 1.6.0
Filename, size File type Python version Upload date Hashes
Filename, size qualifier-1.6.0-py2.py3-none-any.whl (3.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size qualifier-1.6.0.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page