Hmph...it doesn't seem to be possible to "install" the _openbabel.so file to site-packages with distutils. Sure, I can hardcode the copying, but that was what I originally wanted to avoid.
If no-one has any suggestions, I'll ask about this on a Python list... - Noel On 9 December 2011 20:00, Marcus D. Hanwell <marcus.hanw...@kitware.com> wrote: > On Fri, Dec 9, 2011 at 12:56 PM, Geoffrey Hutchison > <ge...@geoffhutchison.net> wrote: >> >> On Dec 9, 2011, at 8:08 AM, Noel O'Boyle wrote: >> >>> I think about it, we could just use distutils to install the package >>> after it has already been compiled (this was where the problem was). >> >> That would be my suggestion. CMake's logic does not work for installing >> Python modules on Mac, because it doesn't attempt to find the site-packages. >> >> Simply saying the user needs to change their paths is a bit unfriendly, >> particularly since our previous "make install" worked to do TheRightThing. >> >> So I think we've made a big improvement in compiling, and fixing the install >> to use distutils would get us the rest of the way. >> > We have also been looking at integrating some of that logic into the > CMake modules for Python and other languages. I have a few patches I > have been working on, but hadn't had time to finish up. Whatever works > best for you at the end of the day, if possible I would like to get > some of the improved logic integrated though. > > Marcus ------------------------------------------------------------------------------ Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ _______________________________________________ OpenBabel-Devel mailing list OpenBabel-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-devel