[Sugar-devel] [Dextrose] [PATCH sugar-toolkit] Insert activity root path in front of the reset of sys.path

Bernie Innocenti bernie at codewiz.org
Sun Feb 6 20:53:26 EST 2011


On Sun, 2011-02-06 at 19:22 -0500, Samuel Greenfeld wrote: 
> What are we trying to solve here?  Are activities bundling third-party 
> Python libraries which have to be preferred in most cases over 
> system-provided ones (if present)?

So, my expectations is that if an activity developer chooses to bundle a
python module with the activity, it means that the version shipped with
the system was too old, or inadequate for some reason.

For example, a game could require a newer version of pygame. It's a
common technique for portability. Sometimes the system version works
better than the bundled version, but since Sugar has no way to tell, the
safest strategy is letting the activities decide.

-- 
   // Bernie Innocenti - http://codewiz.org/
 \X/  Sugar Labs       - http://sugarlabs.org/




More information about the Sugar-devel mailing list