Set up conda environment:
conda create --name dragon_baseline python=3.10
Activate environment:
conda activate dragon_baseline
Install module and additional development dependencies:
pip install -e .
pip install -r requirements_dev.txt
Perform tests:
pytest
mypy src
flake8 src
AutoPEP8 for formatting (this can be done automatically on save, see e.g. https://code.visualstudio.com/docs/python/editing)
- Increase version in setup.py, and set below
- Build:
python -m build
- Distribute package to PyPI:
python -m twine upload dist/*0.1*