-
Notifications
You must be signed in to change notification settings - Fork 641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Be explicit about python version #46
Conversation
Be explicit about python version
Arch is the only environment I'm aware of where there's commonly a |
Other platform would do well to add it: http://allanmcrae.com/2011/03/the-python2-pep/ |
Agreed, but in the meantime, this still breaks the shebangs on all platforms other than Arch. |
Well, what do you suggest? My patch is the proper solution. You will need quite ugly hacks otherwise. |
At a minimum there should probably be a note in the documentation about adding a Ideally, the python files would all be source-compatible with both python 2 and 3, meaning it could stay as a |
Pyhton bindings should be compatible with both python 2 and 3 now, so I changed back to |
Um...you seem to have removed most of the bindings in 21bec7e, which means that although we do indeed get the same behavior under Python 2 and 3, that behavior is to crash with |
Hmm... the file I removed aren't actually needed by the python bindings. On Wed, Jun 6, 2012 at 9:14 AM, Dougal Sutherland <
|
This happens on
|
Ups, my mistake. I've moved flann_ctypes.py locally and forgot to (re-)add On Mon, Jun 11, 2012 at 8:23 PM, Dougal Sutherland <
|
It works! Awesome. |
Arch Linux has python3 in /usr/bin/python and other distros may follow. Better be sure to use the absolutely correct version here.