Skip to content

Building from a second checkout: refuse a dot-directory path; how to move a copied .buildozer cache - #20

Merged
bdbarnett merged 1 commit into
mainfrom
sweep/dot-dir-guard
Oct 9, 2026
Merged

bdbarnett merged 1 commit into
mainfrom
sweep/dot-dir-guard

Conversation

@bdbarnett

Copy link
Copy Markdown
Contributor

Syncs android-runner's new guard (PyDevices/android-runner#34) into this repo's build_android.sh: buildozer leaves out every source file under a directory whose name starts with ., so a checkout under one (a git worktree in .worktrees/) built an APK with no app in it. The script now stops at the start with the reason.

docs/building.md gets a short section on building from a second checkout: the dot-directory rule, and the one path in dist_info.json to rewrite when you copy p4a_app/.buildozer from another checkout (otherwise packaging fails in make_tar). Both came from PyDevices/android-runner#29.

Checked by hand: run from .worktrees/<name>, the script exits with status 2 and the message before it creates a venv.

@bdbarnett
bdbarnett merged commit e87b0d2 into main Oct 9, 2026
1 check passed
@bdbarnett
bdbarnett deleted the sweep/dot-dir-guard branch October 9, 2026 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant