Rename project from mcp210x to mcp210x-uart
Renames package, module directory, script entry point, URLs, Gitea repo, and git remote to mcp210x-uart.
This commit is contained in:
parent
a28eed3849
commit
80220f5728
@ -7,7 +7,7 @@
|
||||
"run",
|
||||
"--directory",
|
||||
"/home/rpm/claude/lora/cp2102-uart",
|
||||
"mcp210x"
|
||||
"mcp210x-uart"
|
||||
],
|
||||
"env": {}
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "mcp210x"
|
||||
version = "0.1.0"
|
||||
name = "mcp210x-uart"
|
||||
version = "0.2.0"
|
||||
description = "MCP server for CP210x USB-UART bridge customization"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.10"
|
||||
@ -31,18 +31,18 @@ dev = [
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
mcp210x = "mcp210x:main"
|
||||
mcp210x-uart = "mcp210x_uart:main"
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://forge.supported.systems/MCP/mcp210x"
|
||||
Repository = "https://forge.supported.systems/MCP/mcp210x"
|
||||
Homepage = "https://forge.supported.systems/MCP/mcp210x-uart"
|
||||
Repository = "https://forge.supported.systems/MCP/mcp210x-uart"
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/mcp210x"]
|
||||
packages = ["src/mcp210x_uart"]
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 100
|
||||
|
||||
@ -1,5 +0,0 @@
|
||||
"""mcp210x - MCP server for Silicon Labs CP210x USB-UART bridge customization."""
|
||||
|
||||
from .server import mcp, main
|
||||
|
||||
__all__ = ["mcp", "main"]
|
||||
5
src/mcp210x_uart/__init__.py
Normal file
5
src/mcp210x_uart/__init__.py
Normal file
@ -0,0 +1,5 @@
|
||||
"""mcp210x-uart - MCP server for Silicon Labs CP210x USB-UART bridge customization."""
|
||||
|
||||
from .server import mcp, main
|
||||
|
||||
__all__ = ["mcp", "main"]
|
||||
@ -409,7 +409,7 @@ async def setup_udev_rule(
|
||||
|
||||
rules_path = f"/usr/lib/udev/rules.d/99-cp210x-{symlink_name}.rules"
|
||||
rule_content = (
|
||||
f"# Auto-generated by mcp210x for: {product}\n"
|
||||
f"# Auto-generated by mcp210x-uart for: {product}\n"
|
||||
f"# Creates /dev/{symlink_name} symlink\n"
|
||||
f"{rule}\n"
|
||||
)
|
||||
10
uv.lock
generated
10
uv.lock
generated
@ -780,8 +780,8 @@ wheels = [
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "mcp210x"
|
||||
version = "0.1.0"
|
||||
name = "mcp210x-uart"
|
||||
version = "0.2.0"
|
||||
source = { editable = "." }
|
||||
dependencies = [
|
||||
{ name = "fastmcp" },
|
||||
@ -1191,11 +1191,11 @@ wheels = [
|
||||
|
||||
[[package]]
|
||||
name = "pyjwt"
|
||||
version = "2.10.1"
|
||||
version = "2.11.0"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/e7/46/bd74733ff231675599650d3e47f361794b22ef3e3770998dda30d3b63726/pyjwt-2.10.1.tar.gz", hash = "sha256:3cc5772eb20009233caf06e9d8a0577824723b44e6648ee0a2aedb6cf9381953", size = 87785, upload-time = "2024-11-28T03:43:29.933Z" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/5c/5a/b46fa56bf322901eee5b0454a34343cdbdae202cd421775a8ee4e42fd519/pyjwt-2.11.0.tar.gz", hash = "sha256:35f95c1f0fbe5d5ba6e43f00271c275f7a1a4db1dab27bf708073b75318ea623", size = 98019, upload-time = "2026-01-30T19:59:55.694Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/61/ad/689f02752eeec26aed679477e80e632ef1b682313be70793d798c1d5fc8f/PyJWT-2.10.1-py3-none-any.whl", hash = "sha256:dcdd193e30abefd5debf142f9adfcdd2b58004e644f25406ffaebd50bd98dacb", size = 22997, upload-time = "2024-11-28T03:43:27.893Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/6f/01/c26ce75ba460d5cd503da9e13b21a33804d38c2165dec7b716d06b13010c/pyjwt-2.11.0-py3-none-any.whl", hash = "sha256:94a6bde30eb5c8e04fee991062b534071fd1439ef58d2adc9ccb823e7bcd0469", size = 28224, upload-time = "2026-01-30T19:59:54.539Z" },
|
||||
]
|
||||
|
||||
[package.optional-dependencies]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user