Just copy the relevant files to site-packages: pybel.py, openbabel.py, _openbabel.pyd. Then add your release build to the front of the windows PATH (or else copy everything to site-packages but that's not very nice) and "import pybel".
- Noel On 21 November 2014 15:45, Dale R. Cameron <dcame...@westcoastchemist.ca> wrote: > I had no trouble with SWIG. Installed the latest version for Windows, told > cmake where it would be and no troubles at all. My trouble is installing > them afterwards to be importable in python. > > > > Dale > > On 2014-11-21 04:33, Mathias Laurin wrote: > > My only remaining issue is how to install the python bindings for this newly > built set. I have not found instructions for how to perform that last task > to get me where I want to be. > > > > > > In theory, you need to call cmake with > > -DPYTHON_BINDINGS=ON -DRUN_SWIG=ON -DSWIG_DIR=/bin > > The last one must be adapted to wherever you actually installed > swig; I put mine in /bin using MSYS. > > Now, I did that on my own 32 bit install and make complains that > it does not find swig.swg and python.swg. Any clue? Does it run > on 64 bits? > > > Best regards > Mathias > ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss