Mailinglist Archive: yast-devel (251 mails)

< Previous Next >
[yast-devel] Re: YaST bindings for Python3?
  • From: Kshitij Gupta <kgupta8592@xxxxxxxxx>
  • Date: Thu, 11 Jul 2013 22:48:44 +0530
  • Message-id: <>

I spent some trying to figure out a way to port the bindings to Python3.
I patched some config files (which I forked from cboltz's branch) to
build the bindings with Python3. Then I realised that the C++ code
needs to be modified too to match the Python3 C API. I found the
following site, which guides on migrating code to Python:

Maybe somebody more familiar with the code-base can make the code
compatible with both Python2 and 3 with some effort.
Hope that might be helpful.

My branch:

cboltz's branch:


Kshitij Gupta

On Thu, Jul 4, 2013 at 2:10 AM, Kshitij Gupta <kgupta8592@xxxxxxxxx> wrote:
Hello everyone,

I am Kshitij and I'm working on Profile Tools for AppArmor using
Python3 under Google Summer of Code'13.

This may have been asked before, but I tried searching on the net and
asking on the IRC channel too but could not find an answer.

The present tools (in Perl) have a YaST interface besides the CLI, as
I'm re-writing them in Python3 (Python 3.3 to be precise) and a few
additional tools I also have to interface with YaST. I was able to
find yast2-bindings for python but they are for Python2.7, but not for

I would be very grateful if somebody can help me in this regard.


Kshitij Gupta
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups