linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Mercier <michael.mercier-MZpvjPyXg2s@public.gmane.org>
To: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Fwd: Py-smbus for Python 3
Date: Mon, 19 Jan 2015 10:12:15 +0100 (CET)	[thread overview]
Message-ID: <1879153388.1899869.1421658735412.JavaMail.zimbra@inria.fr> (raw)
In-Reply-To: <1421658501.2937.2-YAXBhf1W29QAs8EywTwl9A@public.gmane.org>

Hi,

I am working on a project that use the py-smbus module. The problem is 
I am using python 3.x and the py-smbus library is not compatible with 
this version.

I found a lot of hack to do so, like:
http://www.raspberrypi.org/forums/viewtopic.php?f=32&t=22348
http://procrastinative.ninja/2014/07/21/smbus-for-python34-on-raspberry/
http://comments.gmane.org/gmane.linux.drivers.i2c/11290
http://www.spinics.net/lists/linux-i2c/msg08427.html

I eventually manage to make it work but this code only working with 
python 3.

I like distribute it but I do not know where. Is there someone that can 
merge this upstream properly (with python2 compatibility)?

I can also put it on github to make it available so any interested people could improve it?

What do you think?

Thanks,

Michael Mercier

       reply	other threads:[~2015-01-19  9:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1421658501.2937.2@smtp.inria.fr>
     [not found] ` <1421658501.2937.2-YAXBhf1W29QAs8EywTwl9A@public.gmane.org>
2015-01-19  9:12   ` Michael Mercier [this message]
     [not found]     ` <1879153388.1899869.1421658735412.JavaMail.zimbra-MZpvjPyXg2s@public.gmane.org>
2015-01-19  9:24       ` Fwd: Py-smbus for Python 3 Wolfram Sang
2015-01-19 12:24         ` Jean Delvare

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=1879153388.1899869.1421658735412.JavaMail.zimbra@inria.fr \
    --to=michael.mercier-mzpvjpyxg2s@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;
as well as URLs for NNTP newsgroup(s).