- docs
$ pip3 install --upgrade pip wheel
$ python3 -m pip install --upgrade build
$ git clone git@github.com:MountainField/dw.git
$ cd dw
$ pip3 install -e '.[dev]'
The test code is written in RSpec style using USpec and PyHamcrest. But to run the tests you just execute unittest
that is built in test framework
$ python3 -m unittest discover -v -s src -p '*_spec.py'
$ yapf --style='{column_limit: 9999}' -r -i src
$ rm -rf dist && python3 -m build
see https://pypi.org/project/python-dw/
$ python3 -m pip install --upgrade twine
$ python3 -m twine upload --repository pypi dist/*
# brew install gh
$ gh auth login
$ V=0.13.3
# V="$(cat setup.cfg | grep version | cut -d ' ' -f 3)"
$ gh release create ${V} --generate-notes --prerelease
$ gh release upload ${V} dist/*
Takahide Nogayama
IBM Proprietary