pip install pre-commit
pre-commit install
pip install -r requirements.txt
pip install -e .
greppo serve tests/app.py
docs -- build and source are separated make clean && make html
to generate the docs as html files.
In docs/
sphinx-apidoc -o source/ ../src
on making source changes in src
dir under library
We use pytests, pytest tests/unit_tests
- Build frontend:
cd frontend
andnpm run build
- Update setup.cfg: bump version number
- Build backend:
cd library
andpython -m build
- Upload to pypi using twine:
twine upload --verbose --skip-existing dist/*