fix pypi packaging

This commit is contained in:
nvaldez
2026-09-25 22:42:14 +02:00
parent d0b3f1123c
commit 72a3d7e4ea
5 changed files with 19 additions and 10 deletions
+5 -4
View File
@@ -9,7 +9,7 @@ type: summary
# Fiona-Assistant Specification
**Spec sheet for the Fiona-Assistant toolkit.** Derived from `todo.md` and the
**Spec sheet for the Fiona-Assistant toolkit.** Derived from the
current codebase state. Each feature section opens with a `Status` line
followed by requirements and acceptance criteria. Status values:
`Implemented`, `Partially Implemented`, `Planned`, `Won't Do`.
@@ -381,7 +381,7 @@ Requirements:
rule (MD055/MD056/MD058/MD060) runs in sanity. The Node.js markdownlint
used by IDE extensions parses tables natively, which is why table
style errors (MD060) appear in the IDE but not in `run_sanity.py`.
Tracked in `todo.md`; enable the extension once pymarkdown is fixed.
Enable the extension once pymarkdown is fixed.
- MD060 (`table-column-style`) is explicitly disabled for when that
day comes: pymarkdown's implementation (new in pymarkdownlnt 0.9.40,
plugin v0.5.0) enforces different delimiter-row expectations than the
@@ -820,8 +820,9 @@ Acceptance criteria:
> Covers: `src/fiona/__main__.py`. The `fiona-assistant` console script
> dispatches to the tool modules so every tool is reachable through one
> command. Each tool also keeps its standalone CLI; `librarian` and
> `mdoctor` are installed as console scripts, `python-ruff` currently
> has none (packaging fix tracked in `todo.md` P0).
> `mdoctor` are installed as console scripts, while `python-ruff` is
> available only through `fiona-assistant`. All dispatch modules
> (`fiona`, `python_ruff`) ship in the wheel.
Command tree:
+1 -1
View File
@@ -38,7 +38,7 @@ include-package-data = true
[tool.setuptools.packages.find]
where = ["src"]
include = ["fiona", "librarian", "mdoctor", "llm-wiki", "wiki"]
include = ["fiona", "librarian", "mdoctor", "python_ruff", "llm-wiki", "wiki"]
[tool.setuptools.package-data]
"llm-wiki" = ["*", "**/*"]
+4
View File
@@ -0,0 +1,4 @@
"""Fiona package.
Main CLI entry point for the Fiona-Assistant package.
"""
+4
View File
@@ -0,0 +1,4 @@
"""Python Ruff package.
Wraps the external ruff linter for the Fiona-Assistant CLI.
"""
+5 -5
View File
@@ -24,13 +24,13 @@ Ordered by priority. Each item references its section in [SPEC.md](./SPEC.md)
From the 2026-09-23 structure audit. These are repo-hygiene items that
block a correct install or make the docs contradict the code.
- [ ] Fix PyPI packaging so a non-editable install works (wheel build
- [x] Fix PyPI packaging so a non-editable install works (wheel build
confirmed `python_ruff` is missing entirely)
- [ ] Add `python_ruff` to the `packages.find` include list in
- [x] Add `python_ruff` to the `packages.find` include list in
`pyproject.toml`
- [ ] Add `src/python_ruff/__init__.py`
- [ ] Add `src/fiona/__init__.py`
- [ ] Re-verify: build a wheel, install it fresh, confirm the
- [x] Add `src/python_ruff/__init__.py`
- [x] Add `src/fiona/__init__.py`
- [x] Re-verify: build a wheel, install it fresh, confirm the
`fiona-assistant` console script runs and the llm-wiki template
data ships
- [x] Resolve the duplicated `raw/` zone in the llm-wiki template