In any case, the resulting 0install link will contain the appropriate information about dependency - home page, link to sources, licence, etc.

The activity itself doesn't contain any 0sugar-related code. 0sugar will export the appropriate environment variables to the activity process, e.g., PYTHONPATH or LD_LIBRARY_PATH. Thus, dependencies could be packaged and the activity will not notice any differences between 0install dependencies and those installed from packages. An exception is the libsugarize service, which exports the LD_PRELOAD environment variable.

Cache directory

Every activity that uses Sugar Services will contain a .0sugar subdirectory in its activity root

to keep all necessary dependency implementations (so as not to download them on demand).This could be any content, including binaries.

0sugar launching code, since 0sugar is not part of Sugar Platform.This is pure python code.