Re: [easybuild] PythonBundle and use_pip_requirement
Hi Arnau, When using PythonBundle, you should specify 'sources' for specific extensions in exts_list (not "top-level"). regards, Kenneth On 09/01/2023 14:53, Arnau wrote: Dear all, I'd like to install a bunch of python packages from a requirements.txt instead of listing each of them as extension. So I'd like to use the use_pip_requirement option. According to the doc : install using ‘python -m pip install –requirement’. The sources is expected to be the requirements file. but as soon as I add the sources to point to the requirements file EB complains with the error: " List of sources for bundle itself must be empty, found ['requirements.txt']" If I do not add any sources at all, it does not install anythings at all. so, what is the correct way of using this option in a PythonBundle? (eb 4.6.2) TIA, Arna
Re: [easybuild] PythonBundle and use_pip_requirement
Hi Arna, I think this option is only supported for PythonPackage. This is where we use it, for example: https://github.com/ComputeCanada/easybuild-easyconfigs/blob/computecanada-main/easybuild/easyconfigs/s/SciPy-Stack/SciPy-Stack-2022a-GCCcore-9.3.0.eb Best, Maxime Boissonneault Le 2023-01-09 à 08:53, Arnau a écrit : Dear all, I'd like to install a bunch of python packages from a requirements.txt instead of listing each of them as extension. So I'd like to use the use_pip_requirement option. According to the doc : install using ‘python -m pip install –requirement’. The sources is expected to be the requirements file. but as soon as I add the sources to point to the requirements file EB complains with the error: " List of sources for bundle itself must be empty, found ['requirements.txt']" If I do not add any sources at all, it does not install anythings at all. so, what is the correct way of using this option in a PythonBundle? (eb 4.6.2) TIA, Arna
[easybuild] PythonBundle and use_pip_requirement
Dear all, I'd like to install a bunch of python packages from a requirements.txt instead of listing each of them as extension. So I'd like to use the use_pip_requirement option. According to the doc : install using ‘python -m pip install –requirement’. The sources is expected to be the requirements file. but as soon as I add the sources to point to the requirements file EB complains with the error: " List of sources for bundle itself must be empty, found ['requirements.txt']" If I do not add any sources at all, it does not install anythings at all. so, what is the correct way of using this option in a PythonBundle? (eb 4.6.2) TIA, Arna