The Zero Install Injector
Copyright Thomas Leonard, 2006
A program is made up of many different components, typically written by
different groups of people. Each component is available in multiple versions.
The injector is used when starting a program. Its job is to decide which
implementation of each required component to use.
An interface describes what a component does. The injector starts with the
interface for the program you want to run (like 'The Gimp') and chooses an
implementation (like 'The Gimp 2.2.0'). However, this implementation will in
turn depend on other interfaces, such as 'GTK' (which draws the menus and
buttons). Thus, the injector must choose implementations of each dependancy
(each of which may require further interfaces, and so on).
See http://0install.net/injector.html for details.
The injector uses the normal Python distutils method of installation. To
install, become root and run setup.py like this:
[ enter root password ]
# python setup.py install
To run a program by its URI:
$ 0launch http://rox.sourceforge.net/2005/interfaces/Edit
To run create short-cut:
$ 0alias rox-edit http://rox.sourceforge.net/2005/interfaces/Edit
For more information, see the man-pages for 0launch, 0alias and 0store.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Please report any bugs to the mailing list: