[Sugar-devel] [Dextrose] [PATCH sugar-toolkit] Insert activity root path in front of the reset of sys.path
Benjamin M. Schwartz
bmschwar at fas.harvard.edu
Mon Feb 7 00:13:24 EST 2011
On 02/06/2011 09:39 PM, Aleksey Lim wrote:
> In my mind, the situation when modules that come with activity have
> higher priority than system ones is more natural/predictable.
I attempted to do the reverse with Watch Me. Watch Me includes binary
python modules that are not installed by default in OLPC's builds, so
Watch Me includes binaries, but the binaries only work on Fedora 9 (OLPC
8.2.*, I think). Therefore, it also includes a shim layer that ensures
that the bundled binary modules always have lower priority than
system-installed modules if they are installed.
So I recommend not assuming that the priority only goes one way.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: OpenPGP digital signature
More information about the Sugar-devel