Re: Archive type for PYZ packages without extraction
mario <[email protected]>
| Newsgroups | gmane.comp.file-systems.zero-install.devel |
|---|---|
| Message-ID | <[email protected]> |
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.) Fri, 15 May 2015 00:08:27 +0200 "Bastian Eicher" <[email protected]>: > You can tell 0install to download a file without extracting it by > replacing <archive ... /> with <file ... />. > > For example: > <file > href="http://downloads.sourceforge.net/project/streamtuner2/streamtuner2-2.1 > .8.pyz" size="226181" dest="streamtuner.pyz" /> > > Note the dest attribute specifying the local file name. This would > also be what you set as main executable, e.g.: > <implementation main="streamtuner.pyz" ... /> > > > -----Original Message----- > From: mario [mailto:[email protected]] > Sent: Donnerstag, 14. Mai 2015 23:41 > To: [email protected] > Subject: [Zero-install-devel] Archive type for PYZ packages without > extraction > > > Is there an archive type= that prevents 0install from unpacking > Python PYZ packages? > > http://fossil.include-once.org/streamtuner2/doc/trunk/dev/0-st2.xml > > Use case: While my sample package also works in extracted form, it > kinda defeats the purpose. It's already relocatable and meant to be > run like a binary itself. And I don't want to publish or regenerate a > matroska zip for each release either.. > > >From the (Windows) Publishing Tools I assumed something like this > was meant to be available for JARs, self-contained executables or > installers already. > > > ------------------------------------------------------------------------------ > 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 > _______________________________________________ Zero-install-devel > mailing list [email protected] > https://lists.sourceforge.net/lists/listinfo/zero-install-devel ------------------------------------------------------------------------------ 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