Comments (16)
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Glad to hear it :)
Original comment by [email protected]
on 2 Dec 2009 at 6:34
from pybluez.
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.
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.
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.
https://code.google.com/p/pybluez/downloads/list
No.
Original comment by [email protected]
on 9 Jun 2012 at 2:20
from pybluez.
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)
- error communicating with local bluetooth adapter on raspberry pi HOT 2
- Patch for /trunk/examples/simple/inquiry.py HOT 1
- warnings during build for windows (ms visual studio 2010 express) HOT 1
- PyBluez never accepting connection - my fix! HOT 4
- advertise_service fails in fedora 20 HOT 2
- pybluez Installtion on Mac HOT 2
- bt.connect(self._sockfd, addr, port) HOT 2
- PyBluez and HC-05/HC-06 bluetooth serial devices ignore each other's valid services HOT 3
- Debian package not updated. apt-get installs 0.18-2 instead of 0.20 HOT 1
- python3 UnicodeDecodeError in DeviceDiscoverer find_devices HOT 3
- Support for Bluetooth Low Energy (BLE) / GATT HOT 2
- Windows installer (PyBluez-0.20.win32-py3.3.exe) dies during installation on windows 7 HOT 1
- Can Not Install on Windows 7 64 Bit With Any Version of Python Installed HOT 1
- Async Device Discovery fails HOT 2
- No adapter detected - WP8.1 HOT 3
- Warnings during compilation on linux HOT 1
- RSSI info not passed on by DeviceDiscoverer HOT 1
- Installing pyblues from 0.20 sources on Ubuntu HOT 2
- Problem with iqnuiring unicode names on windows8.1 with python3.4 HOT 2
- No way to select device id for device discovery HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pybluez.