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

change import pkg_resources in generate_populate.py to importlib #115

Open
turbomam opened this issue Jul 17, 2023 · 2 comments
Open

change import pkg_resources in generate_populate.py to importlib #115

turbomam opened this issue Jul 17, 2023 · 2 comments
Assignees

Comments

@turbomam
Copy link
Contributor

https://docs.python.org/3/library/importlib.resources.html

@turbomam turbomam self-assigned this Jul 17, 2023
@turbomam
Copy link
Contributor Author

@turbomam
Copy link
Contributor Author

esp.

meta_yaml_path = pkg_resources.resource_filename(
'linkml_runtime',
'linkml_model/model/schema/meta.yaml'
) # todo proper platform agnostic path

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

No branches or pull requests

1 participant