[issue3437] Shabang path on Mac OS X Lion avoids to load extensions from custom Python installation

Giuseppe Caruso bugs at mercurial.selenic.com
Wed May 9 07:47:12 CDT 2012


New submission from Giuseppe Caruso <giuseppe at bonsai-studio.net>:

In Mac OS X default package[1] shabang in /usr/local/bin/hg has been set to
`#/usr/bin/python` invoking, then, default system python installation. If a
user, quite common scenario, installed another, updated, python version,
extensions installed by easy_install bound to custom python isntallation
fail to be loaded.

To fix it it's enough to change shabang to `#/usr/local/env python`

[1] http://mercurial.berkwood.com/

----------
messages: 19975
nosy: caruso_g
priority: bug
status: unread
title: Shabang path on Mac OS X Lion avoids to load extensions from custom Python installation

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3437>
____________________________________________________


More information about the Mercurial-devel mailing list