pylibmount and py3
Hi,
I have applied Ondrej's python3 support to pylibmount. It's possible to recompile the library with python2 as well as with python3.
The ./configure script by default follows distribution and looks for "python" pkg-config module, you can override the default and use
--with-python=2 or --with-python=3
then it looks for "python2" or "python3" pkg-config module.
Please, test it with your distribution.
Note that for example Fedora uses symlinks to redirect pkg-config from "python" to "python2" (the current Fedora default).
/usr/lib64/pkgconfig/python-2.7.pc
/usr/lib64/pkgconfig/python2.pc -> python-2.7.pc
/usr/lib64/pkgconfig/python-3.3m.pc -> python-3.3.pc
/usr/lib64/pkgconfig/python-3.3.pc
/usr/lib64/pkgconfig/python3.pc -> python-3.3.pc
/usr/lib64/pkgconfig/python.pc -> python2.pc
KarelSignature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com