Skip to content

Exclude release script from published crate - #106

Open
musicinmybrain wants to merge 1 commit into
astral-sh:mainfrom
musicinmybrain:exclude-script
Open

Exclude release script from published crate#106
musicinmybrain wants to merge 1 commit into
astral-sh:mainfrom
musicinmybrain:exclude-script

Conversation

@musicinmybrain

Copy link
Copy Markdown
Contributor

This isn’t terribly important, but the contents of scripts/ are for maintainer use and don’t benefit users of published crates on crates.io. Omitting this directory will very slightly slim down the releases.

This is also useful downstream in Fedora, where we would need to exclude scripts/release.py from distribution packaging to avoid an unwanted automatically-generated dependency on uv. This is certainly something we can handle downstream-only, but it’s what prompted me to open this PR.

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.

1 participant