A small task runner inspired from npm
Project description
A small task runner inspired from npm.
Features
Interface like setuptools.
Chain tasks with _pre, _err, _post suffix.
A builtin Bump task which can bump version with semver.
Install
pip install pyxcute
Usage
Create a cute.py file
from xcute import cute, Bump cute( test = 'setup check -r', bump_pre = 'test', bump = Bump('xcute/__init__.py'), bump_post = ['dist', 'release', 'publish', 'install'], dist = 'python setup.py sdist bdist_wheel', release = [ 'git add .', 'git commit -m "Release v{version}"', 'git tag v{version}' ], publish = [ 'twine upload dist/*{version}*', 'git push --follow-tags' ], install = 'pip install -e .', install_err = 'elevate -c -w pip install -e .', readme = 'python setup.py --long-description > %temp%/ld && rst2html %temp%/ld %temp%/ld.html && start %temp%/ld.html' )
Run it
cute <your_command> <options>...
Changelog
0.1.1 (Apr 20, 2016)
Bump dev status.
0.1.0 (Apr 20, 2016)
First release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyxcute-0.1.1.zip
(6.7 kB
view details)
Built Distribution
File details
Details for the file pyxcute-0.1.1.zip
.
File metadata
- Download URL: pyxcute-0.1.1.zip
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c67a3b85216776fa960153b38ae1f6acc3438e74244b865a9f48f5454a7d3af5 |
|
MD5 | 3a5ae13974aadc4d3d784f10e919ea21 |
|
BLAKE2b-256 | 81692f40e4f1f33ea32b3fb0bf19ed36c83bb38ad4115b1111a54be990bae45e |
File details
Details for the file pyxcute-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: pyxcute-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7645a74e0420099d51ed7eecdcf54363ea3a443803cd80e391e5af33ce6f725f |
|
MD5 | 2009e5b55cb74ce26ab468077be5eac3 |
|
BLAKE2b-256 | bbae219683406f357f13ba813ab47449df7096478bf8ccb0edda68aa1b9af790 |