Comment 4 for bug 1037311

Revision history for this message
Garth Wells (garth-wells) wrote : Re: [Bug 1037311] Re: cmake configure doesn't look for python-ply

On 16 August 2012 07:43, Johan Hake <email address hidden> wrote:
> We could make sure some of PyDOLFIN runtime dependencies are installed
> by separately importing them. If they are not installed we can issue a
> nicely formated message?
>

I would suggest just putting import inside a 'try' block, and print
an informative message if the import fails. I wouldn't bother
including it in the configure system.

Garth

> Johan
>
> On 08/16/2012 08:21 AM, Johannes Ring wrote:
>> Actually, I'm not sure we should add a check for PLY in the build system
>> since it is only a runtime dependency. AFAIK, we do not have such a
>> check for other runtime dependencies like FFC and UFL. Opinions?
>>
>> ** Changed in: dolfin
>> Status: In Progress => Opinion
>>
>> ** Changed in: dolfin
>> Importance: High => Medium
>>
>
> --
> You received this bug notification because you are a member of DOLFIN
> Core Team, which is subscribed to DOLFIN.
> https://bugs.launchpad.net/bugs/1037311
>
> Title:
> cmake configure doesn't look for python-ply
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dolfin/+bug/1037311/+subscriptions