From: Karel Zak <kzak@redhat.com>
To: util-linux@vger.kernel.org
Cc: Ondrej Oprala <ooprala@redhat.com>
Subject: pylibmount and py3
Date: Fri, 20 Sep 2013 13:06:48 +0200 [thread overview]
Message-ID: <20130920110648.GA32348@x2.net.home> (raw)
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
reply other threads:[~2013-09-20 11:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130920110648.GA32348@x2.net.home \
--to=kzak@redhat.com \
--cc=ooprala@redhat.com \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox