This document provides instructions for publishing the omarchy-mcp package to PyPI.
-
Install build tools:
pip install build twine
-
Create a PyPI account at https://pypi.org/account/register/
-
Generate an API token at https://pypi.org/manage/account/token/
-
Build the distribution packages:
python -m build
This will create:
dist/omarchy_mcp-0.1.0-py3-none-any.whl(wheel)dist/omarchy_mcp-0.1.0.tar.gz(source distribution)
-
Upload to Test PyPI:
python -m twine upload --repository testpypi dist/* -
Install from Test PyPI to verify:
pip install --index-url https://test.pypi.org/simple/ omarchy-mcp
-
Upload to PyPI:
python -m twine upload dist/* -
Install from PyPI:
pip install omarchy-mcp
To release a new version:
- Update the version in
pyproject.toml - Update the version in
src/omarchy_mcp/__init__.py - Commit the changes
- Create a git tag:
git tag v0.1.1 git push origin v0.1.1
- Rebuild and publish
After publishing, verify the package:
- Check the PyPI page: https://pypi.org/project/omarchy-mcp/
- Install in a clean environment and test:
python -m venv test_env source test_env/bin/activate # On Windows: test_env\Scripts\activate pip install omarchy-mcp omarchy-mcp --version