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

Reply via email to