GithubHelp home page GithubHelp logo

Comments (16)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
releasing a 3.x installer is not as simple as just rebuilding it against python 
3.x.
 python 3.x is not backwards compatible with python 2.x, and so porting pybluez to
3.x requires significant source-level changes.

you are more than welcome to contribute to this effort by submitting patches.

Original comment by [email protected] on 22 Mar 2009 at 6:17

  • Changed state: Accepted
  • Added labels: Priority-Low, Type-Enhancement
  • Removed labels: Priority-Medium, Type-Defect

from pybluez.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
yeah, I know that...and if you tell me how to fix this SDK error, I will gladly 
help.

Original comment by [email protected] on 22 Mar 2009 at 7:20

from pybluez.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
I'd start by familiarizing yourself with this page:

http://docs.python.org/3.0/whatsnew/3.0.html

At the very bottom, there are some rough guidelines on how to go about porting 
from
2.x to 3.x (Section "Porting to Python 3.0").  That's a pretty decent guideline 
to
follow, and once you get code working, start sending patches my way.

Original comment by [email protected] on 22 Mar 2009 at 10:17

from pybluez.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
Yeah, I've read that several times (why did they have to change it all?), but 
if I 
can't build it, I can't test it.

Probably some dependency...where would I get it?

Original comment by [email protected] on 23 Mar 2009 at 12:43

from pybluez.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
meaning that "Can't find the Windows XP Platform SDK" is probably because of 
some 
dependency

Original comment by [email protected] on 23 Mar 2009 at 12:44

from pybluez.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
If you do a web search for Windows XP Platform SDK, you should be able to find 
and
download it.  Once you have that installed, you'll also need a recent copy of 
Visual
Studio.  

Original comment by [email protected] on 23 Mar 2009 at 3:49

from pybluez.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
I have VC++ Express, and was able to compile python (2.6) with it. Good enough?

Original comment by [email protected] on 23 Mar 2009 at 3:13

from pybluez.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
Ok, got it to build. I suggest you make a svn branch for the 3.1-compatible 
code, so 
you can mess with it without breaking the 2.6 code. I'll be working on porting 
the 
python to 3.1 as best I can.

Original comment by [email protected] on 24 Mar 2009 at 7:05

from pybluez.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
With this patch: http://paste2.org/p/170576
I was able to get: http://paste2.org/p/170569

Original comment by [email protected] on 24 Mar 2009 at 7:29

from pybluez.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
I started the port to Python 3.1, I hope it will be released in the christmas 
holidays

Original comment by [email protected] on 2 Dec 2009 at 9:41

  • Changed state: Started

from pybluez.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
Glad to hear it :)

Original comment by [email protected] on 2 Dec 2009 at 6:34

from pybluez.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
With this quick-and-dirty hack it compiles under Python 2.6 and Python 3.1
I only tested device scanning with msbt and widcomm and RFCOMM socket send/recv 
under 
msbt.
bluez isn't supported yet

Original comment by [email protected] on 3 Dec 2009 at 2:30

Attachments:

from pybluez.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
I've just been sent a port of the bluez portions of PyBluez to Python 3.1 and 
used it
to start a new branch.

Lukas, do you think you could integrate this patch into that branch?

Original comment by [email protected] on 11 Feb 2010 at 3:56

from pybluez.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
I know this is a really old thread but is PyBluez for Python3 working now?

Original comment by [email protected] on 4 Jun 2012 at 10:07

from pybluez.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
https://code.google.com/p/pybluez/downloads/list

No.

Original comment by [email protected] on 9 Jun 2012 at 2:20

from pybluez.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
As of 3.0 : "Python 3.0 is end-of-lifed with the release of Python 
3.1"(http://python.org/download/releases/3.0.1/)

Installer for 3.1 is now included

Original comment by [email protected] on 19 Jan 2014 at 5:54

  • Changed state: Fixed

from pybluez.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.