Re: Archive type for PYZ packages without extraction

"Bastian Eicher" <[email protected]>
Newsgroups gmane.comp.file-systems.zero-install.devel
Message-ID <[email protected]>
Ah yes, I completely forgot that <file> doesn't set the executable bit.
@Thomas: Maybe a <file executable="true" ...> attribute would be a useful
extension for a future 0install release?

You are right though, the 0install-y solution is to use a special kind of
binding for this, called a "runner". Something roughly like this:

<implementation ...>
  <file ... />
  <command name="run" path="streamtuner2.pyz">
    <runner interface="http://repo.roscidus.com/python/python"/>
  </command>
</implementation>

The <command> tag replaces the main="..." attribute and allows you to add
additional stuff like the <runner> binding. Unlike <require> bindings a
<runner> must be placed inside a <command>. It tells Zero Install to pass
the command's path to the runner (in this case the Python binary) as a
command-line argument.


-----Original Message-----
From: mario [mailto:[email protected]] 
Sent: Freitag, 15. Mai 2015 01:41
To: [email protected]
Subject: Re: [Zero-install-devel] Archive type for PYZ packages without
extraction


Ha okay, thanks. That works as expected indeed.

Albeit it just downloads the file. 0launch can't run it within the
.cache/0install.net/implementations/ cache dir, as the +x bit remains unset
for the PYZ.
It seems <recipe> doesn't help with that either.

So it's probably one of those "bindings" that would run it through another
package implementation? (Apologies, I don't comprehend much of the docs
still.)

Is there perhaps a sample feed on 0install.de that utilizes one of the
existing Python packages properly?
(As far as I can tell, the Netbeans packages for example just utilize an
environment variable, but don't start via OpenJDK runtime as such.)


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.