On Fri, Jul 23, 2010 at 8:56 PM, TJ O'Donnell <t...@acm.org> wrote: > I've successfully compiled the cpp code and built the .so's using > the current subversion source, but ran into a problem making the > python bindings. The error (python setup.py build in > openbabel/scripts/python) > is that openbabel.py is missing. I see openbabel-python.i in > openbabel/scripts. Is that for swig? Do I need to run swig to > create openbabel.py? Can someone tell me how to do that?
Using cmake, make sure these variables are set to ON in CMakeCache.txt (in your build dir): ENABLE_PYTHON RUN_SWIG $ cd openbabel $mkdir build $ cd build $ cmake -DENABLE_PYTHON:=ON -DRUN_SWIG:=ON .. $ make This will build the python bindings. Tim > Thanks, > TJ > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > OpenBabel-discuss mailing list > OpenBabel-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss > ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss