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

Search Python extensions #3901

Open
sassy-crick opened this issue Nov 23, 2021 · 2 comments
Open

Search Python extensions #3901

sassy-crick opened this issue Nov 23, 2021 · 2 comments
Milestone

Comments

@sassy-crick
Copy link

Further the discussion on Slack: we believe it would be useful to have an easy way to search the Python extensions which are installed by EasyBuild.
There are some obvious ones like numpy for example, others might be more obscure. So the idea was to use something like

$ eb --search-extension FOO

To search the Python extension FOO to find out which extensions are in which EasyConfig.
Thanks

@boegel boegel added this to the 4.x milestone Nov 24, 2021
@smoors
Copy link
Contributor

smoors commented Dec 27, 2021

not exactly what you asked for, but I usually use ripgrep for this.
when inside the easyconfigs repo:

rg -l -i -g '*.eb' -g '!__archive__/*' "'numpy'"

@ocaisa
Copy link
Member

ocaisa commented Jan 10, 2022

To do this within EB, I imagine this would be an expensive operation since you would have to fully parse all the easyconfigs to fish out all the extensions. Maybe it's something that could be added to the easyconfig cache file that we ship?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants