chore(release): publish as real-browser-cli
Testing / remote-protocol-compat (0.9.5) (push) Successful in 40s
Testing / remote-protocol-compat (0.9.3) (push) Successful in 42s
Package Extension / package-extension (push) Successful in 32s
Build & Publish Package / publish (push) Successful in 25s
Testing / test (push) Successful in 31s

- Rename the PyPI distribution from browser-cli to real-browser-cli after PyPI rejected the original name as too similar to an existing project.
- Keep the installed console command as browser-cli so user-facing CLI usage remains unchanged.
- Add README-based package metadata, author information, and project URLs so PyPI renders a proper project description.
- Centralize the PyPI distribution name for importlib.metadata version lookups used by the CLI, doctor command, and remote user agent.
- Document uv tool install, optional fast extra installation, and upgrade commands.
- Bump package and extension metadata to 0.14.3 for the republished release.
This commit is contained in:
2026-06-14 16:18:12 +02:00
parent 6a806f857c
commit 9df5e1bd8f
8 changed files with 81 additions and 48 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
from importlib.metadata import version as _pkg_version
from browser_cli.constants import MAX_MSG_BYTES, PROTOCOL_MIN_CLIENT
from browser_cli.constants import MAX_MSG_BYTES, PROTOCOL_MIN_CLIENT, PYPI_PACKAGE_NAME
def parse_version(v: str) -> tuple[int, ...]:
try:
@@ -10,7 +10,7 @@ def parse_version(v: str) -> tuple[int, ...]:
def get_installed_version() -> str:
try:
return _pkg_version("browser-cli")
return _pkg_version(PYPI_PACKAGE_NAME)
except Exception:
return "0.0.0"