GNOME Bugzilla – Bug 687692
Install python2 symlink in ~/.local/bin when running on Debian
Last modified: 2012-11-10 00:42:14 UTC
This hack allows all GNOME modules to use "python2" to find Python 2.
Created attachment 228194 [details] [review] Install python2 symlink in ~/.local/bin when running on Debian
Thanks for this! I consider the lack of /usr/bin/python2 a major bug, under the light of PEP-394 which ruined the reliability of /usr/bin/python. I asked our Python maintainers about this, but until then this is a nice hack.
Review of attachment 228194 [details] [review]: Thank you for the patch. I like the idea. ::: debian-python2-postinstall-hook.sh @@ +1,1 @@ +#!/bin/sh I don't like this file in the jhbuild root. What about putting the file in the scripts dir?
Created attachment 228258 [details] [review] Install python2 symlink in ~/.local/bin when running on Debian Now in scripts/
Comment on attachment 228258 [details] [review] Install python2 symlink in ~/.local/bin when running on Debian Thank you! Committed. http://git.gnome.org/browse/jhbuild/commit/?id=6007add3779f8aa2a28e49394c88b9e6ddc494c7