-
Notifications
You must be signed in to change notification settings - Fork 0
Exclude web/.gitkeep from PyPI wheel distribution #36
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -73,6 +73,11 @@ path = "src/SVG2DrawIOLib/__about__.py" | |
|
|
||
| [tool.hatch.build.targets.wheel] | ||
| packages = ["src/SVG2DrawIOLib"] | ||
| only-include = [ | ||
| "SVG2DrawIOLib/**/*.py", | ||
| "SVG2DrawIOLib/**/*.typed", | ||
| "SVG2DrawIOLib/py.typed", | ||
| ] | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
|
||
| [tool.hatch.build.targets.wheel.force-include] | ||
| "src/SVG2DrawIOLib/web" = "SVG2DrawIOLib/web" | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| """Package version information.""" | ||
|
|
||
| __version__ = "1.3.2" | ||
| __version__ = "1.3.3" |


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only-includedoes not support glob patternsHigh Severity
The
only-includedirective in hatchling only accepts explicit paths to directories or files — it does not support glob patterns. The entriesSVG2DrawIOLib/**/*.pyandSVG2DrawIOLib/**/*.typeduse glob syntax (**/*), whichonly-includewill not resolve. This likely causes the wheel to contain no Python source files at all (only theforce-includeweb directory), producing a completely broken package. Theincludeoption supports globs, butonly-includedoes not.