Skip to main content

Python package versioning made simple

Project description

Downloads Badge Egg Wheel License

Python package versioning made simple

Quickstart

Feeling impatient? I like your style.

In your setup.py file

setup(
    ...
    setup_requires = ['pyversion'],
    auto_version = True,
    ...
)

On the command line

python setup.py increment tag register sdist upload

PBR

If you are also using the openstack PBR package pyversion supports this as well just modify your setup.py file

setup(
    setup_requires = [
        'pbr',
        'pyversion'
    ],
    pbr = True,
    auto_version = "PBR",
)

Installation

Download and install using pip install pyversion

Project details


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