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. For more details on using Pylease please see the documentation.
Basic Usage
Start using pylease by just navigating to you package root (the directory containing setup.py) and simply use the command-line:
$ pylease status
Now you will see basic information about your package, like name and version. Then take a try and do:
$ pylease make --dev
This will release the package with version ‘1.0.dev1’, i.e. update the version in setup.py. The release levels include major, minor, patch and dev.
If you want to initiate a branch new project, perform this:
$ pylease init my_project
This will prepare and create all needed files and directories for your project skeleton.
Extensions
Pylease also comes with extensions mechanisms. It includes some useful extensions that might be used in combination as well as anyone can write extensions for Pylease to enhance it.
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 make --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.
PyPI
PyPI extension provides an ability to automatically upload you package distribution to PyPi after releasing your project. To enable this feature use the --pypi command line option:
$ pylease make --major --pypi
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
File details
Details for the file pylease-0.3.2.tar.gz
.
File metadata
- Download URL: pylease-0.3.2.tar.gz
- Upload date:
- Size: 22.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9f519d123f899dc85017a7ab9dadeacfc4ae7763eed8b0b19374fcc188a2c46 |
|
MD5 | 028255e2240e5440d3e1b0a42932213a |
|
BLAKE2b-256 | 7337ad3f35f7ac3169f3f81fddc54ecb76cab1e40204c2b049ee8d101dd2bbff |