Added support for site-local packages
commit0d5e2c6e7d94d1e314399b20da17946ac521a597
authorThomas Leonard <talex5@gmail.com>
Thu, 21 Jun 2012 07:04:24 +0000 (21 08:04 +0100)
committerThomas Leonard <talex5@gmail.com>
Sun, 24 Jun 2012 08:09:35 +0000 (24 09:09 +0100)
tree5097d6174c115a893024702aecf45c923cf4fda4
parentc68fdf92e7ec85e42f661c15c1fda10d9d289418
Added support for site-local packages

This makes things easier for 0compile: instead of putting builds in the cache
and registering them with the interface, 0compile can now just drop a build in
~/.local/share/0install.net/site-packages/URI/VERSION and 0install will find it
and add it automatically. The build can be removed by simply deleting the
directory.

In order to support the case where 0compile compiles a binary on a platform
with an old system 0install, writer.save_interface() adds all such discovered
feeds, tagged as 'site-package'. 0install >= 1.9 ignores such entries when
reading.
tests/basetest.py
tests/testwriter.py
zeroinstall/0launch-gui/properties.py
zeroinstall/injector/model.py
zeroinstall/injector/reader.py
zeroinstall/injector/writer.py
zeroinstall/support/basedir.py