|
From: Thomas L. <ta...@gm...> - 2009-03-05 08:03:16
|
2009/3/3 Michel Salim <mic...@gm...>: > Hello, > > I'm trying to update Reinteract to the latest 0.4.3 release, and would > like to make it be as self-contained as possible, because of the > following dependencies: > gtk+ >= 2.12 > python >= 2.5 > > that are currently not available natively on RHEL 5. > > I could have sworn that I saw a document on 0install.net describing > how to replace a Python script's #!/usr/bin/env python to use a > 0install-based Python, but try as I might, I could not find it again > (should have bookmarked it). > > How can this be done? I tried using crystalspace's Python, and get the > following output. Is there a different invocation, or is there a > different 0install interface I could use? Try putting the new Python in $PATH, like this: <requires interface="http://crystalspace3d.org/0install/python25.xml"> <environment insert="bin" mode="prepend" name="PATH"/> <environment insert="lib" mode="prepend" name="LD_LIBRARY_PATH"/> </requires> -- Dr Thomas Leonard ROX desktop / Zero Install GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1 |