From d790afbc7cd679487999de31b396a5388f17e21e Mon Sep 17 00:00:00 2001 From: Robert Helewka Date: Wed, 8 Jul 2026 06:28:15 -0400 Subject: [PATCH] docs: simplify install instructions and consolidate dependencies --- .../202512_GenesysCX/ctm-token-calculator/README.md | 2 +- .../ctm-token-calculator/pyproject.toml | 11 ++++++++--- .../ctm-token-calculator/requirements.txt | 11 ----------- 3 files changed, 9 insertions(+), 15 deletions(-) delete mode 100644 studies/202512_GenesysCX/ctm-token-calculator/requirements.txt diff --git a/studies/202512_GenesysCX/ctm-token-calculator/README.md b/studies/202512_GenesysCX/ctm-token-calculator/README.md index 6b29a50..f2d4a87 100644 --- a/studies/202512_GenesysCX/ctm-token-calculator/README.md +++ b/studies/202512_GenesysCX/ctm-token-calculator/README.md @@ -25,7 +25,7 @@ outputs with sensitivity-aware **Floor / Realistic / Stretch** analysis. ```bash cd ctm-token-calculator python -m venv .venv && source .venv/bin/activate -pip install -e ".[app,notebook,dev]" +pip install -e ".[dev]" # everything needed to serve, run, and export the notebooks # Serve the notebooks as interactive web apps (Mercury) mercury --working-dir notebooks/ diff --git a/studies/202512_GenesysCX/ctm-token-calculator/pyproject.toml b/studies/202512_GenesysCX/ctm-token-calculator/pyproject.toml index eaa1465..6d6e81d 100644 --- a/studies/202512_GenesysCX/ctm-token-calculator/pyproject.toml +++ b/studies/202512_GenesysCX/ctm-token-calculator/pyproject.toml @@ -7,16 +7,21 @@ name = "ctm-token-calculator" version = "0.1.0" description = "Genesys AI Token Cost & Business Case Calculator (CTM)" requires-python = ">=3.10" +# The notebooks are the deliverables (served with Mercury, exported via +# nbconvert, tables via tabulate) — the whole toolchain is a required +# runtime dependency, not an extra. `pip install -e .` must be enough. dependencies = [ "pandas>=2.0", - "numpy>=1.25", "plotly>=5.18", "openpyxl>=3.1", + "mercury>=3.2", + "jupyterlab>=4.0", + "ipywidgets>=8.0", + "nbconvert>=7", + "tabulate>=0.9", ] [project.optional-dependencies] -app = ["mercury>=3.2"] -notebook = ["jupyterlab>=4.0", "ipywidgets>=8.0", "nbconvert>=7", "tabulate>=0.9"] dev = ["pytest>=7.4", "mypy>=1.8"] [tool.setuptools.packages.find] diff --git a/studies/202512_GenesysCX/ctm-token-calculator/requirements.txt b/studies/202512_GenesysCX/ctm-token-calculator/requirements.txt deleted file mode 100644 index c6dce39..0000000 --- a/studies/202512_GenesysCX/ctm-token-calculator/requirements.txt +++ /dev/null @@ -1,11 +0,0 @@ -mercury>=3.2 -pandas>=2.0 -numpy>=1.25 -plotly>=5.18 -openpyxl>=3.1 -pydantic>=2.0 -jupyterlab>=4.0 -ipywidgets>=8.0 -nbconvert>=7 -tabulate>=0.9 -pytest>=7.4