Kizoku-Dev / pybluez

Automatically exported from code.google.com/p/pybluez
GNU General Public License v2.0
0 stars 0 forks source link

No executable installer for 3,0/3.1 #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Look at downloads tab
2. Notice lack of "PyBluez-0.16.win32-py3.1.exe"
3. Be disappointed at lack of support for new versions

What version of the product are you using? On what operating system?
Currently, I'm using 0.16 on python 2.6 under Windows XP home edition, but 
I want to update to 3.1...

Please provide any additional information below.
When I tried to compile it from source (which I have done with other 
modules successfully in the past), it said "Can't find the Windows XP 
Platform SDK".

Original issue reported on code.google.com by marcus@wanners.net on 22 Mar 2009 at 2:14

GoogleCodeExporter commented 8 years ago
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 ashu...@gmail.com on 22 Mar 2009 at 6:17

GoogleCodeExporter commented 8 years ago
yeah, I know that...and if you tell me how to fix this SDK error, I will gladly 
help.

Original comment by marcus@wanners.net on 22 Mar 2009 at 7:20

GoogleCodeExporter commented 8 years ago
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 ashu...@gmail.com on 22 Mar 2009 at 10:17

GoogleCodeExporter commented 8 years ago
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 marcus@wanners.net on 23 Mar 2009 at 12:43

GoogleCodeExporter commented 8 years ago
meaning that "Can't find the Windows XP Platform SDK" is probably because of 
some 
dependency

Original comment by marcus@wanners.net on 23 Mar 2009 at 12:44

GoogleCodeExporter commented 8 years ago
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 ashu...@gmail.com on 23 Mar 2009 at 3:49

GoogleCodeExporter commented 8 years ago
I have VC++ Express, and was able to compile python (2.6) with it. Good enough?

Original comment by marcus@wanners.net on 23 Mar 2009 at 3:13

GoogleCodeExporter commented 8 years ago
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 marcus@wanners.net on 24 Mar 2009 at 7:05

GoogleCodeExporter commented 8 years ago
With this patch: http://paste2.org/p/170576
I was able to get: http://paste2.org/p/170569

Original comment by marcus@wanners.net on 24 Mar 2009 at 7:29

GoogleCodeExporter commented 8 years ago
I started the port to Python 3.1, I hope it will be released in the christmas 
holidays

Original comment by L...@gmx.at on 2 Dec 2009 at 9:41

GoogleCodeExporter commented 8 years ago
Glad to hear it :)

Original comment by marcus@wanners.net on 2 Dec 2009 at 6:34

GoogleCodeExporter commented 8 years ago
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 L...@gmx.at on 3 Dec 2009 at 2:30

Attachments:

GoogleCodeExporter commented 8 years ago
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 ashu...@gmail.com on 11 Feb 2010 at 3:56

GoogleCodeExporter commented 8 years ago
I know this is a really old thread but is PyBluez for Python3 working now?

Original comment by oliverwi...@googlemail.com on 4 Jun 2012 at 10:07

GoogleCodeExporter commented 8 years ago
https://code.google.com/p/pybluez/downloads/list

No.

Original comment by marcus@wanners.net on 9 Jun 2012 at 2:20

GoogleCodeExporter commented 8 years ago
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 karu...@wp.pl on 19 Jan 2014 at 5:54