Skip to main content

Easy package versioning and release management

Project description

Pylease is a simple package that tends to ease the release process of a regular Python package. The aim of Pylease is to make it as simple as possible by requiring as little as possible.

Basic Usage

Start using pylease by just navigating to you package root (the directory containing setup.py) and simply use the command-line:

$ pylease --dev

This will release the package with version ‘1.0.dev1’, i.e. update the version in setup.py and upload it to PyPi. If you need to customize the behaviour of setuptools (e.g. by uploading your package to another repository), you may pass any other setuptools command-line arguments to pylease:

$ pylease --major -r other_repo

The release levels include major, minor, patch and dev.

Extensions

Pylease also includes some useful extensions that might be used in combination.

Git

Git extension provides functionality to automatically create a tag on the git repository associated with the version, and commit the changes made to the setup.py.

This may be achieved by simply adding --git-tag argument while calling pylease:

$ pylease --minor --git-tag

After making the release, you will additionally have a new commit containing the setup.py update as well as a new tag pointing to that commit.

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

pylease-0.2.tar.gz (7.1 kB view hashes)

Uploaded Source

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