Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Command to tests program version

Project description

Command to tests program version.

Example of use:

Config file:

default_cmd: dpkg -l {package} | grep ^ii | awk '{{print $3}}'

main:
    python: # use python version
        cmd: /usr/bin/python --version 2>&1 | awk '{{print $2}}'
        version: 2.7
    python3: # use package verion
        version: 3.3

Command:

c2c.versions config.yaml main

This example tests that we have at least the version 2.7 of python 2 and the version 3.3 of python 3.

Project details


Release history Release notifications

This version
History Node

1.0.1

History Node

1.0.0

History Node

0.5dev2

History Node

0.5dev1

History Node

0.4

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
c2c.versions-1.0.1.tar.gz (3.8 kB) Copy SHA256 hash SHA256 Source None Mar 24, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page