public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
To: "Renz, Bernhard" <bernhard.renz-//tT4aWmXyZBDgjK7y7TUQ@public.gmane.org>
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Howto compile py-smbus with python 3.2
Date: Mon, 21 May 2012 17:14:19 +0200	[thread overview]
Message-ID: <20120521171419.2ef13147@endymion.delvare> (raw)
In-Reply-To: <DDF9A29ED50FA94F83C55CFA4BB8EF5F08A9BD-8+ddyajbMjJjmjMfHwPPEFZafE0Mqj5e5/FHAH3NXZDDzftRWevZcw@public.gmane.org>

Hi Bernhard,

On Mon, 21 May 2012 15:10:38 +0000, Renz, Bernhard wrote:
> Hello,
> 
> I got it to work!
> With the following pages I did a conversion of py-smbus from Python2 to Python3:
> http://docs.python.org/release/3.1.5/extending/building.html#building
> http://python3porting.com/cextensions.html
> 
> Here is the smbusmodule.c, which is based on the i2c-tools-3.1.0 release, which compile with Python3:
> Hope maybe Khali can provide it for other developers on his repository....

I'll do if you provide your changes as a patch (use diff -ruNp). BTW I
hope that your changes do not break support for python version 2, a lot
of distributions are still shipping that so we can't break it.

Thanks,
-- 
Jean Delvare

  parent reply	other threads:[~2012-05-21 15:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-14 11:16 Howto compile py-smbus with python 3.2 Renz, Bernhard
     [not found] ` <DDF9A29ED50FA94F83C55CFA4BB8EF5F08323B-8+ddyajbMjLtkydW1Tv2DlZafE0Mqj5e5/FHAH3NXZDDzftRWevZcw@public.gmane.org>
2012-05-21 15:10   ` Renz, Bernhard
     [not found]     ` <DDF9A29ED50FA94F83C55CFA4BB8EF5F08A9BD-8+ddyajbMjJjmjMfHwPPEFZafE0Mqj5e5/FHAH3NXZDDzftRWevZcw@public.gmane.org>
2012-05-21 15:14       ` Jean Delvare [this message]
     [not found]         ` <20120521171419.2ef13147-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2012-05-21 15:40           ` Renz, Bernhard
2013-04-24 18:21     ` Tom Cox

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=20120521171419.2ef13147@endymion.delvare \
    --to=khali-puyad+kwke1g9huczpvpmw@public.gmane.org \
    --cc=bernhard.renz-//tT4aWmXyZBDgjK7y7TUQ@public.gmane.org \
    --cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.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