Hi Cormac,
For future reference:
* search for 'PyYAML' in the easyconfigs repository (use the search box
on top), see
https://github.com/hpcugent/easybuild-easyconfigs/search?q=pyyaml
* select one of the stand-alone easyconfigs, which include " options =
{'modulename': 'yaml'}".
This is not *exactly* what you're looking for, since you're including
PyYAML as an extension to Python here, but it's close.
Maybe you can figure out the problem yourself next time using this approach.
If not, don't hesitate to post your question to the mailing list, I'm
sure this can be useful to others too.
regards,
Kenneth
On 30/04/15 16:40, Garvey, Cormac T wrote:
Hi Ward,
That's exactly what I was looking for.
Cheers,
Cormac.
On Thu, Apr 30, 2015 at 1:50 AM, Ward Poelmans <[email protected]
<mailto:[email protected]>> wrote:
On Thu, Apr 30, 2015 at 2:22 AM, Garvey, Cormac T
<[email protected] <mailto:[email protected]>> wrote:
> ('PyYAML', pyyamlversion, {
> 'source_urls':
> [('https://pypi.python.org/packages/source/P/PyYAML')
<https://pypi.python.org/packages/source/P/PyYAML%27%29>],
> }),
Use the 'modulename' option:
('PyYAML', pyyamlversion, {
'modulename': 'yaml',
'source_urls':
[('https://pypi.python.org/packages/source/P/PyYAML')
<https://pypi.python.org/packages/source/P/PyYAML%27%29>],
}),
Ward
--
Cormac Garvey
HPC Software Consultant
Scientific Computing
Idaho National Laboratory
Ph: 208-526-6294