morphik-core/sdks/python/PUBLISH.md

16 lines
369 B
Markdown
Raw Normal View History

2024-12-17 21:40:38 -05:00
# Publish to PyPI
- `cd` into the `sdks/python` directory
- Update the package version in `pyproject.toml`, `morphik/__init__.py`.
2024-12-17 21:40:38 -05:00
- Ensure you have the correct PyPI API key/certificates/ssh keys installed
```bash
# ensure you've activated the correct python environment
pip install build twine
rm -rf dist
python -m build
twine check dist/*
twine upload dist/*
```