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

[WIP] Create directory for version file if necessary #87

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

patrickhulce
Copy link

@patrickhulce patrickhulce commented Jan 23, 2025

Would you be open to automatically creating the directory if it doesn't exist?

My use case is that uv build copies the source tree to a new hermetic location and in my workspace root (which is a meta package, not one that is actually published) I need the _version.py to be placed in dist, which doesn't exist yet when this is run. Writing a custom hook just for this seemed wasteful :)

Can cleanup / test / etc if the concept sounds good to you 👍

@patrickhulce patrickhulce changed the title Create directory for version file if necessary [WIP] Create directory for version file if necessary Jan 23, 2025
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