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

Allow lazy import at root level #35

Merged
merged 4 commits into from
Oct 16, 2023
Merged

Conversation

alchem0x2A
Copy link
Collaborator

Some submodules like sparc.api, sparc.download_data and sparc.docparser may not need ase / numpy dependency, but do need information like where the package is installed / built. Allowing lazy import at root level can be helpful for things like conda-forge build, where scripts like sparc.download_data is needed after package installation, but the build host couldn't contain the ase / numpy packages, see conda-forge/staged-recipes#24093

@alchem0x2A alchem0x2A merged commit 1e6bc42 into SPARC-X:master Oct 16, 2023
1 check passed
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