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

add resources symlink #416

Merged
merged 1 commit into from
Jan 29, 2024
Merged

Conversation

braingram
Copy link
Contributor

@braingram braingram commented Dec 12, 2023

This PR adds a symlink ink src/asdf-standard to the resources directory (and excludes this symlink from packaging). This allows editable installs of asdf-standard to use importlib.resources to inspect resources.

This is the first PR in a 3 part series to hopefully break the link between asdf-standard and asdf which prevents asdf-standard from adding a new standard without breaking asdf tests. The general plan is:

this allows editable installs to find
asdf_standard.resources during an editable
install (via importlib.resources.files)
Copy link
Contributor

@eslavich eslavich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice!

@braingram braingram merged commit c6dd92d into asdf-format:main Jan 29, 2024
14 checks passed
@braingram braingram deleted the symlink_resources branch January 29, 2024 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants