Developer guide

The project uses Poetry. To install the package with all dependencies in development mode, clone the repo and run poetry install in the cloned repo directory.

Releasing a new version

Automatically

Just use git flow to make a release, and the new version will be published to PyPI automatically by Travis CI:

$ git flow release start 0.7.8
$ poetry version
$ git add poetry.toml
$ git commit -m "Bump version."
$ git flow release finish 0.7.8
$ git push --all && git push --tags

Manually

If for some reason you want to publish the release manually, use poetry publish command:

$ poetry publish --build

Building the docs locally

$ poetry run mkdocs serve



蟒营®编程思维提高班 Python版/第13期 正在报名

精品小班/ 永久答疑

扫描报名: 101camp13py

蟒营®式 原创课程

伴你重享学习乐趣

官网: py.101.camp

Reactivate Joy by Self-teching with You


任何问题可先进入知识星球(免费)咨询:
FAQ

关注公众号, 持续获得相关各种咨询:
mainium


追问

任何问题, 随时邮件提问可也:
askdama@googlegroups.com