Package discovery missing in pyproject.toml prevents pip install -e . #5
Labels
No labels
blocked:gate-fetch
blocked:lint-failed
blocked:needs-decision
bug
feature-request
in-progress
needs-decompose
ops-task
quickfix
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/itchbox#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
pip install -e ".[test]"fails becausepyproject.tomluses flat-layout package discovery but the project root contains multiple directories (app,data,project_state,generated_prompts). Setuptools refuses to proceed due to ambiguity.To Reproduce
Expected behavior
Package installs successfully.
Actual behavior
Fix applied
Added
[tool.setuptools.packages] find = { include = ["app*"] }to pyproject.toml to explicitly declare the app package.Environment
Additional context
This also affects the Docker build since the Dockerfile runs the same pip install command.