File tree Expand file tree Collapse file tree 3 files changed +56
-3
lines changed
Expand file tree Collapse file tree 3 files changed +56
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Publish to PyPI
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ build-and-publish :
9+ runs-on : ubuntu-latest
10+ permissions :
11+ contents : read
12+ steps :
13+ - name : Check out repository
14+ uses : actions/checkout@v4
15+
16+ - name : Set up Python
17+ uses : actions/setup-python@v5
18+ with :
19+ python-version : ' 3.11'
20+
21+ - name : Install build tooling
22+ run : |
23+ python -m pip install --upgrade pip
24+ pip install build
25+
26+ - name : Build distribution
27+ run : |
28+ python -m build
29+
30+ - name : Publish to PyPI
31+ uses : pypa/gh-action-pypi-publish@release/v1
32+ with :
33+ password : ${{ secrets.PYPI_API_TOKEN }}
34+
Original file line number Diff line number Diff line change @@ -23,7 +23,17 @@ A Python utility package for building Model Context Protocol (MCP) servers.
2323
2424## Installation
2525
26- Install from this repo
26+ Install from PyPI:
27+
28+ ``` bash
29+ pip install mcp-utils-msgspec
30+ ```
31+
32+ For development (from source):
33+
34+ ``` bash
35+ pip install -e .[dev]
36+ ```
2737
2838## Requirements
2939
Original file line number Diff line number Diff line change 11[project ]
2- name = " mcp-utils"
3- version = " 2.0.1 "
2+ name = " mcp-utils-msgspec "
3+ version = " 2.1.0 "
44description = " Synchronous utilities for Model Context Protocol (MCP) integration"
55readme = " README.md"
66requires-python = " >=3.10"
@@ -29,3 +29,12 @@ testpaths = ["tests"]
2929python_files = [" test_*.py" ]
3030
3131
32+ [build-system ]
33+ requires = [" setuptools>=68" , " wheel" ]
34+ build-backend = " setuptools.build_meta"
35+
36+ [tool .setuptools ]
37+ package-dir = {"" = " src" }
38+
39+ [tool .setuptools .packages .find ]
40+ where = [" src" ]
You can’t perform that action at this time.
0 commit comments