From c8c051466da67d04b56ef43be34d907d19bfd466 Mon Sep 17 00:00:00 2001 From: Kiptengwer Date: Fri, 3 Jul 2026 04:18:09 +0200 Subject: [PATCH] fix(release): rename PyPI distribution wcpd -> wcp to match the trusted publisher MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The PyPI pending publisher was registered for project name 'wcp'; the distribution metadata said 'wcpd', so upload failed with 'Non-user identities cannot create new projects'. Rename the distribution to 'wcp' (the protocol's name). The import package (wcpd) and the daemon console command (wcpd) are unchanged — pip install wcp still provides the wcpd command, like other daemon packages. README install commands updated. Verified: python -m build produces wcp-0.1.0 with Name: wcp, the wcpd entry point, the wcpd package, and the bundled Apache-2.0 LICENSE. Co-Authored-By: Claude Opus 4.8 (1M context) --- README.md | 12 ++++++------ reference/wcpd/README.md | 4 ++-- reference/wcpd/pyproject.toml | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index dacf957..1cf322b 100644 --- a/README.md +++ b/README.md @@ -51,8 +51,8 @@ WCP ships two Python packages (both target **Python ≥ 3.10**, and both run on > Publishing is wired via GitHub Actions trusted publishing and fires on a `v*` tag. Until the first release tag is pushed, install from source (below). ```bash -pip install wcpd # the reference server -pip install "wcpd[graph]" # + live SPARQL (rdflib) for wcp.graph.export +pip install wcp # the reference server +pip install "wcp[graph]" # + live SPARQL (rdflib) for wcp.graph.export wcpd --help ``` @@ -60,9 +60,9 @@ Optional extras: | Extra | Enables | |---|---| -| `wcpd[graph]` | Live SPARQL queries in `wcp.graph.export` (via `rdflib`). Core graph build/query/traverse/export-to-N-Triples is always available with zero dependencies. | -| `wcpd[linux-ax]` | The pip half (`PyGObject`) of the Linux accessibility backend. `pyatspi` itself comes from your OS package manager (`python3-pyatspi` / `at-spi2-core`). | -| `wcpd[windows-ax]` | The COM binding (`comtypes`) for the Windows UI Automation accessibility backend. | +| `wcp[graph]` | Live SPARQL queries in `wcp.graph.export` (via `rdflib`). Core graph build/query/traverse/export-to-N-Triples is always available with zero dependencies. | +| `wcp[linux-ax]` | The pip half (`PyGObject`) of the Linux accessibility backend. `pyatspi` itself comes from your OS package manager (`python3-pyatspi` / `at-spi2-core`). | +| `wcp[windows-ax]` | The COM binding (`comtypes`) for the Windows UI Automation accessibility backend. | ### From source @@ -107,7 +107,7 @@ wcpd stdio --allow-input --allow-osa --allow-browser-eval --allow-scheduler --al ```bash python3 -m venv ~/.wcp/venv - ~/.wcp/venv/bin/pip install wcpd # or: pip install -e /path/to/reference/wcpd + ~/.wcp/venv/bin/pip install wcp # or: pip install -e /path/to/reference/wcpd ``` 2. Add a server entry to `~/Library/Application Support/Claude/claude_desktop_config.json` (**merge** — don't clobber existing servers): diff --git a/reference/wcpd/README.md b/reference/wcpd/README.md index ba8681c..41068e5 100644 --- a/reference/wcpd/README.md +++ b/reference/wcpd/README.md @@ -7,8 +7,8 @@ It exposes **35 capability families / 258 operations** — accessibility tree, w ## Install ```bash -pip install wcpd -pip install "wcpd[graph]" # + live SPARQL (rdflib) for wcp.graph.export +pip install wcp +pip install "wcp[graph]" # + live SPARQL (rdflib) for wcp.graph.export ``` Extras: `graph` (rdflib for live SPARQL), `linux-ax` (PyGObject for the Linux AT-SPI2 accessibility backend), `windows-ax` (comtypes for the Windows UI Automation backend). diff --git a/reference/wcpd/pyproject.toml b/reference/wcpd/pyproject.toml index 107af5f..4940fd0 100644 --- a/reference/wcpd/pyproject.toml +++ b/reference/wcpd/pyproject.toml @@ -1,5 +1,5 @@ [project] -name = "wcpd" +name = "wcp" version = "0.1.0" description = "wcpd: reference implementation of the Workstation Capability Protocol (WCP)" readme = "README.md"