easybuilders / easybuild-easyconfigs

A collection of easyconfig files that describe which software to build using which build options with EasyBuild.
https://easybuild.io
GNU General Public License v2.0
374 stars 700 forks source link

Packages using nonstandard python search paths #21456

Open Micket opened 1 week ago

Micket commented 1 week ago

After going through and dropping the standard PYTHONPATH environment variables for my EBPYTHONPREFIXES change, I've found:

uses the nonstandard path

'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages/OpenMM-%(version)s-py%(pyshortver)s-linux-%(arch)s.egg'

which is just strange

There is also

which are use something silly like lib or bin or lib/python as their paths. Sigh. So many. Some of these matter more than others.

boegel commented 6 days ago

I guess they way forward for those would be to beat them into submission by making sure they use the default lib/python*/site-packages (for example via postinstallcmds), so $EBPYTHONPREFIXES also works for them (and then eventually forbidding easyconfigs from setting PYTHONPATH directly);