Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix python source distributions builds #360

Merged

Conversation

tlifschitz
Copy link
Contributor

Problem:

  • The Python dev versioning logic assumed that setup.py was being executed inside a Git repository, causing an exception when building from source outside of Git
  • A missing file in the MANIFEST caused the build to fail

Changes in this PR:

  • Update setup.py to modify the VERSION file content during source distribution generation, appending the dev version if needed. This ensures consistency with the version in published wheels
  • Updates setup.py to fall back on the VERSION file content if Git commands fail
  • Adds the missing files to the MANIFEST

@kdewald kdewald merged commit df4ec85 into OpenBluetoothToolbox:main Nov 14, 2024
11 of 13 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