Exclude most AsyncTI4 submodule content from sdist while keeping required data subtree - #39
Merged
Merged
Conversation
Agent-Logs-Url: https://github.com/adam133/ti4-rules-engine/sessions/ad8b046f-73c1-4ead-8eda-ff390ab18eb9 Co-authored-by: adam133 <20442729+adam133@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
adam133
April 17, 2026 02:11
View session
Owner
|
@copilot but we still need a subdirectory of the submodule included in the build. |
Agent-Logs-Url: https://github.com/adam133/ti4-rules-engine/sessions/fb1133e1-5207-4916-9303-15b897036527 Co-authored-by: adam133 <20442729+adam133@users.noreply.github.com>
Contributor
Author
Updated the packaging config to include only the required subdirectory from the submodule ( |
Copilot
AI
changed the title
Exclude AsyncTI4 submodule from sdist packaging
Exclude most AsyncTI4 submodule content from sdist while keeping required data subtree
Apr 17, 2026
adam133
marked this pull request as ready for review
April 17, 2026 02:33
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
PyPI publish artifacts were oversized because the source distribution was bundling the full
data/TI4_map_generator_botgit submodule. This change now constrains sdist contents to keep artifacts small while still including the required subdirectory from the submodule.Packaging scope correction
src/ti4_rules_engineremains the wheel package root).Build configuration update
pyproject.tomlwith a dedicated sdist target configuration that includes:src/ti4_rules_enginedata/TI4_map_generator_bot/src/main/resources/dataREADME.mdLICENSEpyproject.toml