Skip to content

Commit 8f16712

Browse files
mcrotkclaude
andcommitted
Show only install commands that work before the PyPI release
The README's Installation section gives the GitHub (git+https) forms, with each extra, and says the package isn't on PyPI yet. The guide's numpy note points to that section instead of a PyPI command. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01E6Ro1ojrEwUF1FqBcvPpj5
1 parent 63d4004 commit 8f16712

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎README.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ What this library does:
3232

3333
## Installation
3434

35+
Not on PyPI yet; until it is, install from GitHub:
36+
3537
```sh
36-
pip install mcrotk-cache-utils
37-
pip install 'mcrotk-cache-utils[numpy]' # for the RNG passthrough decorators
38-
pip install 'mcrotk-cache-utils[pandas]' # for the pandas key helpers
39-
pip install 'mcrotk-cache-utils[numpy,pandas]' # both
38+
pip install "mcrotk-cache-utils @ git+https://github.com/mcrotk/mcrotk_cache_utils"
39+
pip install "mcrotk-cache-utils[numpy] @ git+https://github.com/mcrotk/mcrotk_cache_utils" # for the RNG passthrough decorators
40+
pip install "mcrotk-cache-utils[pandas] @ git+https://github.com/mcrotk/mcrotk_cache_utils" # for the pandas key helpers
41+
pip install "mcrotk-cache-utils[numpy,pandas] @ git+https://github.com/mcrotk/mcrotk_cache_utils" # both
4042
```
4143

42-
The latest development version: `pip install "mcrotk-cache-utils @ git+https://github.com/mcrotk/mcrotk_cache_utils"`.
43-
4444
Requires Python 3.11+ and cachetools 8+ (installed with it); numpy 1.23.2+ and pandas 1.5+ only for the features that use them.
4545

4646
## Examples

‎docs/guide.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ class Simulation:
176176
- **On a miss**, the method's own outputs are returned, including the generator it advanced.
177177
- **On a hit**, the stored result is returned with the caller's generator passed through `np.random.default_rng`. A `Generator` comes back unchanged (nothing was drawn), and a seed or `None` comes back as a new `Generator` made from it, so the caller's next call continues from it rather than reseeding.
178178

179-
It needs numpy (`pip install 'mcrotk-cache-utils[numpy]'`).
179+
It needs numpy (the `numpy` extra; see [Installation](../README.md#installation)).
180180

181181
### Either way
182182

0 commit comments

Comments
 (0)