Skip to content

Latest commit

 

History

History
108 lines (54 loc) · 1.64 KB

README-dev.md

File metadata and controls

108 lines (54 loc) · 1.64 KB

Develper Guide for Data Wrangler

Getting Started

Prerequisites

$ pip3 install --upgrade pip wheel
$ python3 -m pip install --upgrade build

Installing

$ git clone git@github.com:MountainField/dw.git
$ cd dw
$ pip3 install -e '.[dev]'

Running Tests

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'

Formatting Code

$ yapf --style='{column_limit: 9999}' -r  -i src 

Build

$ rm -rf dist && python3 -m build

PyPI

see https://pypi.org/project/python-dw/

$ python3 -m pip install --upgrade twine
$ python3 -m twine upload --repository pypi dist/*

Github Release

# 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/*

Authors

Takahide Nogayama

License(ライセンス)

IBM Proprietary