-
Notifications
You must be signed in to change notification settings - Fork 595
Open
Milestone
Description
Duplicate Check
- I have searched the opened issues and there are no duplicates
Describe the requested feature
At the moment flet create doesn't create a standard directory layout. It would be nice if it would follow the
standard src-directory layout as described at
- https://packaging.python.org/en/latest/discussions/src-layout-vs-flat-layout/
- https://docs.astral.sh/uv/concepts/projects/init/#packaged-applications
- https://python-poetry.org/docs/cli#new
So I suggest a dir layout like
❯ tree flet-app
flet-app
├── README.md
├── pyproject.toml
├── src
│ └── flet_app
│ ├── __init__.py
│ ├── assets
│ │ └── icon.png
│ └── main.py
├── storage
│ ├── data
│ └── temp
└── tests
├── __init__.py
└── test_main.py
The tests folder would also be a great reminder, that tests for flet are already on the roadmap, see https://flet.dev/roadmap/#testing ;-)
Suggest a solution
No response
Screenshots
No response
Additional details
No response
Metadata
Metadata
Assignees
Labels
No labels