Skip to content

Commit 699fce3

Browse files
bump with new pypi name
1 parent ab0062d commit 699fce3

File tree

3 files changed

+56
-3
lines changed

3 files changed

+56
-3
lines changed

.github/workflows/publish.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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+

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff 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

pyproject.toml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
2-
name = "mcp-utils"
3-
version = "2.0.1"
2+
name = "mcp-utils-msgspec"
3+
version = "2.1.0"
44
description = "Synchronous utilities for Model Context Protocol (MCP) integration"
55
readme = "README.md"
66
requires-python = ">=3.10"
@@ -29,3 +29,12 @@ testpaths = ["tests"]
2929
python_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"]

0 commit comments

Comments
 (0)