Utilities to help build Workbench modules
Project description
Utilities for CJWorkbench modules.
Workbench modules may optionally depend on the latest version of this Python package for its handy utilities:
cjwmodule.i18n
: Atrans()
function for producing translatable text.cjwmodule.util.colnames
: Functions to help build a valid table's column names.
Developing
- Write a failing unit test in
tests/
- Make it pass by editing code in
cjwmodule/
- Submit a pull request
Be very, very, very careful to preserve a consistent API. Workbench will upgrade this dependency without module authors' explicit consent. Add new features; fix bugs. Never change functionality.
Publishing
- Write a new
__version__
tocjwmodule/__init__.py
. Adhere to semver. (As changes must be backwards-compatible, the version will always start with1
and look like1.x.y
.) - Prepend notes to
CHANGELOG.md
about the new version git commit
git tag v1.x.y
git push --tags && git push
- Wait for Travis to push our changes to PyPI
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
cjwmodule-1.1.2.tar.gz
(6.5 kB
view hashes)