» Main »
0path - path manipulation for testing 0install packages
Published by Tim Cuthbertson
- Overview
This is a Zero Install feed. To add this program to your Applications menu, choose Zero Install -> Add New Program from the Applications menu. e.g. on Ubuntu:
If you don't see this menu item, install the zeroinstall-injector package from your distribution's repository, or from 0install.net.
Drag the feed's URL to the dialog box that appears. Other environments may use other systems. For example, if you are a ROX desktop user, drag the link to AddApp instead.
Alternatively, to run it from the command-line:
$ 0launch http://gfxmonk.net/dist/0install/0path.xml
The 0alias command can be used to create a short-cut to run it again later.
If you don't have the 0launch command, download it from the 0install.net web-site, which also contains documentation about how the Zero Install system works.
- Full name
- Homepage
- Description
DEPRECATED ---------- 0path is lacking some features required for newer versionf of 0install, and is generally a fragile way to go about this sort of thing. Please consider using the newer [0env](http://gfxmonk.net/dist/0install/0env.xml) instead. ----- 0path is a utility for making the contents of a zero install feed (including its dependencies) active in your current shell session, as if the library or application were installed globally. This should not be used as a substitute for creating a zero-install feed with your dependencies declared appropriately, but can be useful for trying out a library without going to that effort. INSTALLATION: ------------- Because 0path modifies environment variables, the suggested method of installation is to add this function to your shell's inisitalisation environment (e.g by adding to ~/.bashrc): function 0path { eval "$(0launch 'http://gfxmonk.net/dist/0install/0path.xml' "$@")"; } (for zsh users, you should remove the double quotes around "$@") USAGE: ------ Then the usage is simply e.g: 0path http://gfxmonk.net/dist/0install/mocktest.xml This will make the `mocktest` python library available to all programs run from within the current shell session. For example, you can now run a python shell and `import mocktest`. ADVANCED USAGE: --------------- If you need to add the feed's implementation to a specific environment variable (rather than one it exports): 0path http://gfxmonk.net/dist/0install/mocktest.xml PYTHONPATH This will insert mocktest's base path into your $PYTHONPATH environment variable. If providing an environment variable name, you can supply optional --insert and --mode options, which mimic the behaviour of these attributes in a zero-install <environment> binding. If you just want to run it as a once-off without installing it into your shell, you can run e.g: eval "$(0launch 'http://gfxmonk.net/dist/0install/0path.xml' <feed-uri>)"
- Available versions
The list below is just for information; Zero Install will automatically select one of these versions for you.
Version Released Stability Platform Download 0.0.1 2010-12-29 Any Download (1404 bytes) 0.1 2011-01-12 Any Download (1597 bytes) 0.1.1 2011-01-13 Any Download (1602 bytes) 0.1.2 2011-01-13 Any Download (1674 bytes) 0.1.3 2011-01-15 Any Download (1733 bytes) 0.1.4 2011-01-22 buggy Any Download (1742 bytes) 0.1.5 2011-01-30 Any Download (1739 bytes) 0.2 2011-02-27 Any Download (2469 bytes) 0.2.1 2011-03-05 Any Download (2671 bytes) 0.2.2 2011-03-18 Any Download (2668 bytes) 0.2.3 2011-07-31 Any Download (2643 bytes) 0.2.4 2012-01-01 Any Download (2678 bytes) 0.2.5 2012-02-04 Any Download (2814 bytes) 0.2.6 2012-02-05 Any Download (2814 bytes) 0.2.7 2012-04-11 Any Download (2955 bytes) 0.2.8 2012-04-17 Any Download (2966 bytes) 0.2.9 2012-04-28 Any Download (2976 bytes) 0.2.10 2012-04-28 Any Download (2972 bytes) 0.2.11 2012-05-19 Any Download (2981 bytes) - Required libraries
The list below is just for information; Zero Install will automatically download any required libraries for you.