← Back to team overview

dolfin team mailing list archive

Re: python configuration on OS X 10.5

 

I believe the way to handle this is to ask distutils for the path, not
look for it on the filesystem.

  Matt

On Sun, Mar 2, 2008 at 3:40 PM, Gideon Simpson <grs2103@xxxxxxxxxxxx> wrote:
> On OS X 10.5.x, Apple has a Python 2.5 distribution installed in /
>  System/Library/Frameworks/Python.framework/
>
>  I've noticed that the dolfin (and syfi) configuration scripts have
>  trouble finding the python library path.  I have been able to rectify
>  this on my own machine by making the following edit to the configure
>  script:
>
>  change:
>  (21848) python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -
>  print | sed "1q"`
>  to:
>  (21848) python_path=`find $i  -name libpython$PYTHON_VERSION.* -print
>  | sed "1q"`
>
>  not sure if this is an OS X unix thing, or something with the way
>  apple has the python installed.
>
>
>  -gideon
>
>  _______________________________________________
>  DOLFIN-dev mailing list
>  DOLFIN-dev@xxxxxxxxxx
>  http://www.fenics.org/mailman/listinfo/dolfin-dev
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which
their experiments lead.
-- Norbert Wiener


References