[sugar] Python: distutils, setuptools, packages, etc
Marco Pesenti Gritti
mpg
Thu Sep 28 14:37:23 EDT 2006
>
> I wouldn't expect eggs to be the bundle format. Bundles would
> typically include several eggs anyway, since we'd be including the
> dependencies. So, I'm guessing that an olpc_bundle command would create:
>
> MyCode.activity/
> eggs/
> MyCode-version.egg/...
> SomeDependencies-xxx.egg/...
> activity/
> activity.info # copied from MyCode/mycode/mycode.activity ?
> icon, localization...
>
> Potentially activity.info could be created from metadata kept
> elsewhere. Or maybe not, I'm not sure. For instance, the "exec" key
> is something I think should be automatically generated (since there
> will be an up-front sys.path fixup to activate the eggs, then calling
> some function in MyCode). Maybe that's what sugar-activity-factory does?
>
Eggs sounds useful to package dependencies. We need to figure out how
the sys.path fixup happens exactly.
sugar-activity-factory just start a dbus service that can create new
instances of an activity.
Marco
More information about the Sugar-devel
mailing list