Hi Kenneth,

Kenneth Hoste <[email protected]> writes:

> On 15/01/2021 19:10, Maxime Boissonneault wrote:
>> Hi Loris,
>>
>> "extensions"
>>
>> would be what you are looking for, if you want to pip install specific
>> packages.
>
> Yep, but that usually involves a separate source tarball.
>
> You could take the approach we use in the Arrow easyconfigs, where we run the
> "pip install" command in the subdirectory that hosts the Python bindings via
> "postinstalcmds"; see
> https://github.com/easybuilders/easybuild-easyconfigs/blob/develop/easybuild/easyconfigs/a/Arrow/Arrow-0.17.1-intel-2020a-Python-3.8.2.eb#L46
> .

Thanks for the link.  I'll look into taking that approach.

Cheers,

Loris

>
> regards,
>
> Kenneth
>
>>
>> Cheers,
>>
>> Maxime
>>
>>
>> Le 21-01-15 à 04:01, Loris Bennett a écrit :
>>> Hi,
>>>
>>> I am trying to write an EC for fastText:
>>>
>>>    https://github.com/facebookresearch/fastText
>>>
>>> Using the MakeCp EB I can build the binaries (there is some talk of
>>> libraries in the documentation, but I can see nothing relevant in the
>>> Makefile).
>>>
>>> However, there is also Python stuff in its own subdirectory and with a
>>> separate installation mechanism, namely pip.
>>>
>>> Is there any easy way to deal with this situation within a single EC?
>>>
>>> If there isn't, how would one have to organise a piece of software which
>>> comprises binaries and Python modules so that everything can be
>>> installed via a single EC?
>>>
>>> Regards
>>>
>>> Loris
>>>
>
-- 
Dr. Loris Bennett (Hr./Mr.)
ZEDAT, Freie Universität Berlin         Email [email protected]

Reply via email to