File tree Expand file tree Collapse file tree 4 files changed +76
-10
lines changed
Expand file tree Collapse file tree 4 files changed +76
-10
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*'
7+
8+ permissions :
9+ contents : write
10+ id-token : write
11+
12+ jobs :
13+ build-and-publish :
14+ runs-on : ubuntu-latest
15+ environment : release
16+ steps :
17+ - name : Checkout code
18+ uses : actions/checkout@v4
19+ with :
20+ fetch-depth : 0
21+
22+ - name : Install uv
23+ uses : astral-sh/setup-uv@v3
24+
25+ - name : Set up Python
26+ run : uv python install
27+
28+ - name : Install dependencies
29+ run : uv sync --group dev
30+
31+ - name : Build package
32+ run : uv build
33+
34+ - name : Publish to PyPI
35+ uses : pypa/gh-action-pypi-publish@release/v1
36+
37+ - name : Create GitHub Release
38+ uses : softprops/action-gh-release@v2
39+ with :
40+ generate_release_notes : true
Original file line number Diff line number Diff line change 11# python-openstackmcp-server
22openstack mcp server
3+
4+ ## Table of Contents
5+
6+ - [ Overview] ( #overview )
7+ - [ Features] ( #features )
8+ - [ Installation] ( #installation )
9+ - [ Configuration] ( #configuration )
10+ - [ Usage] ( #usage )
11+ - [ License] ( #license )
12+ - [ Contributing] ( #contributing )
Original file line number Diff line number Diff line change 11[project ]
22name = " python-openstackmcp-server"
3- version = " 0.1.0 "
3+ dynamic = [ " version " ]
44description = " A MCP server providing OpenStack services for MCP clients"
55readme = " README.md"
66requires-python = " >=3.10"
@@ -14,22 +14,23 @@ dependencies = [
1414dev = [
1515 " ruff>=0.12.5" ,
1616 " pre-commit>=4.2.0" ,
17+ " setuptools-scm>=9.2.0" ,
1718]
1819test = [
1920 " pytest>=8.4.1" ,
2021]
2122
2223
2324[build-system ]
24- requires = [
25- " hatchling" ,
26- ]
27- build-backend = " hatchling.build"
25+ requires = [" setuptools>=61.0" , " setuptools-scm" ]
26+ build-backend = " setuptools.build_meta"
27+
28+ [tool .setuptools_scm ]
29+ write_to = " src/openstack_mcp_server/_version.py"
30+
31+ [tool .setuptools .packages .find ]
32+ where = [" src" ]
2833
29- [tool .hatch .build .targets .wheel ]
30- packages = [
31- " src/openstack_mcp_server" ,
32- ]
3334
3435[tool .pytest .ini_options ]
3536testpaths = [
You can’t perform that action at this time.
0 commit comments