pidgin/pidgin

Ensure backwards compatibility with Python 2

2015-07-12, Daniƫl van Eeden
a6f8c7cbdb24
Ensure backwards compatibility with Python 2

Use python (which often defaults to python 2.x) instead of forcing python2
Also make it compatible with python 2.7 and 3.4

Tested with:
$ python2.7 libpurple/purple-url-handler xmpp:foo@example.com
$ python3.4 libpurple/purple-url-handler xmpp:bar@example.com
For information on writing a plugin for Purple, Pidgin or Finch, go
https://developer.pidgin.im and click on API. From there, see the
HOWTOs in the "Related Pages" section.
You can also generate this documentation locally by passing
"--enable-gtk-doc" to ./configure, then running "make" in the source tree.
The documentation will be in the doc/reference/*/html directories.