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.

Files for pylease, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size pylease-0.2.tar.gz (7.1 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