public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* pylibmount and py3
@ 2013-09-20 11:06 Karel Zak
  0 siblings, 0 replies; only message in thread
From: Karel Zak @ 2013-09-20 11:06 UTC (permalink / raw)
  To: util-linux; +Cc: Ondrej Oprala


 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


    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-09-20 11:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-20 11:06 pylibmount and py3 Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox