On Jan 6, 2011, at 9:00 AM, Konstantin Tokarev wrote:

> Isn't it better to load Python module manually from OB prefix? Any Python 
> script or application using libpython can load modules from arbitrary 
> locations. Also, environment variables may be used to extend module search 
> path 

No. Then any Python script or application will need to know where OB has 
installed the Python module. That presents a chicken-and-egg problem -- how do 
you tell the Python script where to find openbabel.py without something 
installed in the standard Python module search path.

Python distutils makes this easy -- the "issue" here in the bug report is that 
there's currently a mismatch between CMake and distutils IMHO.

John's suggestion to use --root is a good one.

-Geoff
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to