-
Notifications
You must be signed in to change notification settings - Fork 0
fix: include libfoundation_models.dylib in wheels and build for multiple python versions #3
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
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
b396e8e
fix: include libfoundation_models.dylib in wheels and build for multi…
btucker e74a24a
chore: uv.lock update
btucker 67801b6
Merge branch 'main' of github.com:btucker/apple-foundation-models-py …
btucker 67ad97d
chore: bump version
btucker 055e1be
ci: remove build-sdist
btucker d6b4981
fix: ensure dylib is included in wheel by building during build_py phase
btucker 65de3c1
ci: set MACOSX_DEPLOYMENT_TARGET and ARCHFLAGS for wheel builds
btucker 80bfb95
ci: force arm64 platform tag by setting _PYTHON_HOST_PLATFORM
btucker 498d729
ci: use macOS 11.0 platform tag for PyPI compatibility
btucker cccb0c0
docs: add macOS 26.0+ requirement to package description
btucker 2c22811
ci: adopt uv build for wheel building
btucker 1ba5208
ci: properly build wheels for macOS 26.0 platform
btucker bd196ac
refactor: simplify package data configuration
btucker 2bad884
docs: document uv as primary build tool in README
btucker 1d099c3
fix: update Python version requirement to 3.9+
btucker 0eb78dd
feat: add Python 3.14 support
btucker 0502fdc
refactor: exclude Swift source files from wheels
btucker 98b3c66
ci: enhance wheel verification error messages
btucker ed1b1c2
refactor: simplify setup.py
btucker c8c8f7f
ci: add comprehensive wheel testing
btucker 5b41a69
refactor: move wheel testing to test workflow
btucker File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,27 +1,16 @@ | ||
| # Include all necessary files in source distribution | ||
|
|
||
| # Swift source files | ||
| include applefoundationmodels/swift/*.swift | ||
| include applefoundationmodels/swift/*.h | ||
|
|
||
| # Dynamic library | ||
| include lib/*.dylib | ||
| include lib/*.swiftmodule | ||
|
|
||
| # Cython source files | ||
| include applefoundationmodels/*.pyx | ||
| include applefoundationmodels/*.pxd | ||
|
|
||
| # Type stub marker | ||
| include applefoundationmodels/py.typed | ||
| # This file is for sdist builds only (not used for wheels) | ||
| # Wheels use pyproject.toml [tool.setuptools.package-data] instead | ||
|
|
||
| # Documentation | ||
| include README.md | ||
| include LICENSE | ||
|
|
||
| # Exclude unnecessary files | ||
| # Exclude build artifacts and source files from wheels | ||
| global-exclude *.pyc | ||
| global-exclude __pycache__ | ||
| global-exclude *.so | ||
| global-exclude .DS_Store | ||
| global-exclude *.a | ||
| global-exclude *.swift | ||
| global-exclude *.h | ||
| global-exclude lib/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.