Skip to content

Commit 2e01b0b

Browse files
committed
chore: release prep
Fix project URLs for the fluxel repo move, document pip installation, and derive --version from installed package metadata.
1 parent c30f7f5 commit 2e01b0b

3 files changed

Lines changed: 10 additions & 6 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,11 @@ Fluxel is intentionally in MVP mode.
6060
- `duckdb` for disposable analytical indexing
6161

6262
## Install
63+
```bash
64+
uv pip install fluxel
65+
```
6366

67+
### Developer mode in repo
6468
```bash
6569
uv sync
6670
uv run fluxel --help

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ dependencies = [
3535
]
3636

3737
[project.urls]
38-
Repository = "https://github.com/londogard/strand"
39-
Documentation = "https://github.com/londogard/strand#readme"
40-
Issues = "https://github.com/londogard/strand/issues"
41-
Changelog = "https://github.com/londogard/strand/blob/main/CHANGELOG.md"
38+
Repository = "https://github.com/londogard/fluxel"
39+
Documentation = "https://github.com/londogard/fluxel#readme"
40+
Issues = "https://github.com/londogard/fluxel/issues"
41+
Changelog = "https://github.com/londogard/fluxel/blob/main/CHANGELOG.md"
4242
Funding = "https://github.com/sponsors/londogard"
4343

4444
[project.scripts]

src/fluxel/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from __future__ import annotations
22

3+
from importlib import metadata
34
import json
45
import sys
56
from dataclasses import asdict, dataclass
@@ -650,7 +651,7 @@ def build_parser() -> _CleanParser:
650651
parser.add_argument(
651652
"--version",
652653
action="version",
653-
version="fluxel 0.1.0",
654+
version=f"fluxel {metadata.version('fluxel')}",
654655
help="Show version and exit",
655656
)
656657
parser.add_arguments(FluxelCLI, dest="cli")
@@ -1398,7 +1399,6 @@ def run_cli(argv: list[str] | None = None) -> int:
13981399
print(cmd)
13991400
return 0
14001401

1401-
14021402
except HANDLED_CLI_ERRORS as error:
14031403
if isinstance(error, NotARepositoryError):
14041404
print(f"fatal: {error}", file=sys.stderr)

0 commit comments

Comments
 (0)