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

The only requirement of Pylease is to place a Version Specification in the setup.py of your package before calling the setup method. This may be done in the following trivial way:

# setup.py

from pylease import version

# and here comes the Version Specification
version('1.0')

...

setup(name="myproject", version=version)

What? Yes, simply call version('1.0') and then refer the version as a string with the same name.

After having the Version Specification in your setup.py, you are ready for making releases with pylease command-line tool, by simply providing the release level:

$ 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.

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.1.tar.gz (7.0 kB view details)

Uploaded Source

File details

Details for the file pylease-0.1.tar.gz.

File metadata

  • Download URL: pylease-0.1.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pylease-0.1.tar.gz
Algorithm Hash digest
SHA256 8c6501d5a59b211cac7311142e67cbea5018168199068529474c84376ee305d8
MD5 f3cc136ba7a7375d7efccf279127139a
BLAKE2b-256 0dbf2aad06f3443eda44919d26c7bcdf418f5f796b98c8cfc92c93a78d80a561

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page