Install python-makelib.
git clone --recurse-submodules [email protected]:yhttp/yhttp.gitCreate virtual environment:
make venvDelete virtual environment:
make venv-deleteActivate the virtual environment:
source ./activate.shInstall this project as editable mode and all other development dependencies:
make envExecute all tests:
make testExecute specific test(s) using wildcard:
make test F=tests/test_db*
make test F=tests/test_form.py::test_querystringformrefer to pytest documentation for more info about invoking tests.
Execute tests and report coverage result:
make cover
make cover F=tests/test_static.py
make cover-htmlmake lintExecute these commands to create Python's standard distribution packages
at dist directory:
make sdist
make wheelOr
make distto create both sdidst and wheel packages.
Execute:
make cleanto clean-up previous dist/* and build/* directories.
WARNING: Do not do this if you'r not responsible as author and or maintainer of this project.
Execute
make clean
make pypito upload sdists and wheel packages on PyPI.
make doc
make livedoc
make doctestOr
cd sphinx
make doctest
make html
make livehtml