I would try something like this, but modified for the mac:
cmake -DPYTHON_BINDINGS=ON -DRUN_SWIG=ON
-DPYTHON_LIBRARY=/usr/lib/python3.2/config/libpython3.2.so
-DPYTHON_INCLUDE_PATH=/usr/include/python3.2
-DPYTHON_EXECUTABLE=/usr/bin/python3.2 ../openbabel-2.3.1
I don't actually know whether openbabel works with python3, so buyer beware.
-David
On Sat, Oct 19, 2013 at 6:23 AM, O. Baris Malcioglu <
baris.malcio...@gmail.com> wrote:
> Hi everyone,
>
> I have installed python3 to my Mac from the official distribution,
>
> However, when I try to install openbabel with python bindings using
> cmake ../openbabel-2.3.1 -DPYTHON_BINDINGS=ON -DBUILD_GUI=ON
>
> only bindings for python 2.7 are installed.
>
>
>
> is there a way I can make openbabel install python3 bindings as well?
> Simple aliasing does not work.
>
> Googling the problem did not help. (Is there a way to search archives
> of this mailing list?)
>
> best,
> Baris
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
> _______________________________________________
> OpenBabel-discuss mailing list
> OpenBabel-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss