pip install .[docs]
-
Update version in init.py
-
Run tests
coverage run -m unittest discover loinchpo
-
Generate coverage report badge
python -m build
python -m twine upload dist/*
To Conda:
- Update pypi hash/version
# https://conda-forge.org/#contribute
# Set conda forge
conda config --add channels conda-forge
conda config --set channel_priority strict
# Will run tests and prepore for the forge
conda build conda_recipe
# Cleaning if you built many times, will clean the build directories
conda build purge
# Installing recently built version
conda install --use-local loinchpo