Skip to content

Remove resources/ folder from app template - #274

Merged
freakboy3742 merged 1 commit into
beeware:mainfrom
bilgituncay:remove-resources-folder
Aug 23, 2026
Merged

Remove resources/ folder from app template#274
freakboy3742 merged 1 commit into
beeware:mainfrom
bilgituncay:remove-resources-folder

Conversation

@bilgituncay

@bilgituncay bilgituncay commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

PR Checklist:

  • I will abide by the BeeWare Code of Conduct
  • I have read and have followed the CONTRIBUTING.md file
  • This PR was generated or assisted using an AI tool

Follows up on beeware/briefcase#3015, where it was confirmed that the resources/README's guidance (referencing files as "resources/filename") only works for Toga apps, via App.paths.app. For Pygame, PySide6, and Console apps, which have no equivalent path-resolution mechanism, following this documented convention causes a FileNotFoundError, since briefcase dev runs the app with cwd set to the user's home directory rather than the project directory.

As suggested in the issue, this PR removes {{ cookiecutter.app_name }}/src/{{ cookiecutter.module_name }}/resources/ (containing only the README) from the base template.

Fixes beeware/briefcase#3015.

Testing:

Confirmed no other file in the template (tests, pyproject.toml, packaging config) references the resources/ folder.
Full template test suite passes: 12 passed via tox.

@freakboy3742 freakboy3742 changed the title Remove resources/ folder from app template (closes #3015) Remove resources/ folder from app template Aug 23, 2026

@freakboy3742 freakboy3742 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

@freakboy3742
freakboy3742 merged commit 29ef7aa into beeware:main Aug 23, 2026
28 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

resources/README's guidance ("resources/filename") is broken for every non-Toga bootstrap (Pygame, PySide6, Console)

2 participants