mirror of
https://github.com/kuhyx/diet-guard.git
synced 2026-07-04 13:23:11 +02:00
Fix setuptools flat-layout package discovery broken by app/
Adding the Flutter app/ directory made setuptools' auto-discovery see two top-level packages and refuse to build, breaking install.sh's pip step. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RH2BHCKbDTiYJUMG3rb9nq
This commit is contained in:
parent
a82047502f
commit
95acf8a376
@ -8,6 +8,11 @@ dependencies = [
|
|||||||
"requests>=2.31.0",
|
"requests>=2.31.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# Without this, setuptools' flat-layout auto-discovery treats the Flutter
|
||||||
|
# app/ directory as a second top-level package and refuses to build.
|
||||||
|
[tool.setuptools.packages.find]
|
||||||
|
include = ["diet_guard*"]
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
target-version = "py310"
|
target-version = "py310"
|
||||||
include = ["*.py", "**/*.py"]
|
include = ["*.py", "**/*.py"]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user