Skip to content

Fix/macos install packaging and docs#1832

Merged
Furtif merged 2 commits into
cedricp:masterfrom
adrianaerlingus:fix/macos-install-packaging-and-docs
Jul 11, 2026
Merged

Fix/macos install packaging and docs#1832
Furtif merged 2 commits into
cedricp:masterfrom
adrianaerlingus:fix/macos-install-packaging-and-docs

Conversation

@adrianaerlingus

Copy link
Copy Markdown

Summary
This PR improves macOS installation reliability for source installs and aligns setup documentation with the current packaging behavior.

What changed
Added package data configuration so runtime files are included in built/installed distributions:
ddt4all/resources/projects.json
ddt4all/generated/locales//LC_MESSAGES/.mo
Added macOS troubleshooting notes to the main README:
Upgrade pip, setuptools, and wheel before editable installs
Recovery steps for resources/projects.json not found or invalid
Verified launch commands (ddt4all and python3 -m ddt4all)
Added matching macOS guidance in build docs (README.md) for consistency.
Why
On macOS, users with older packaging tooling can fail on pip install -e ., and some installs may miss runtime data files required at startup, causing:
resources/projects.json not found or invalid.

This PR addresses both causes:

Documentation now clearly describes the required tooling upgrade/reinstall path.
Packaging now explicitly includes required runtime resource and locale files.
Validation
Verified locally on macOS:

pip install --force-reinstall . installs package with required runtime files present.
ddt4all --help works after installation.
resources/projects.json resolves correctly from installed package.
Scope
Packaging metadata and documentation only.
No ECU logic, protocol behavior, or UI runtime logic changes.

@Furtif

Furtif commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

thanks

@Furtif Furtif merged commit d2c71d4 into cedricp:master Jul 11, 2026
6 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.

2 participants