Re: Converting PyPI to feeds
Tim Diels <[email protected]> Mon, 6 Feb 2017 13:06:05 +0100
| Newsgroups | gmane.comp.file-systems.zero-install.devel |
|---|---|
| Message-ID | <CAMjmSuR8RkCw7YB12CaPfK79KYDrRZrzg18CABPKDKF3tr-v7g@mail.gmail.com> |
How would you compare Docker to Zero Install? It's not listed at http://0install.net/comparison.html On Sun, Feb 5, 2017 at 2:55 PM, Thomas Leonard <[email protected]> wrote: > On 1 February 2017 at 16:14, Tim Diels <[email protected]> wrote: > > Dear all, > > > > I'm considering automatically converting the Python packages listed in > the > > Python Packaging Index (PyPI) to Zero Install feeds; Python packaging > has a > > few problems which Zero Install would solve. One main issue with this is > > that Python packages are installed by executing a package's setup.py > script. > > While this file usually is implemented by calling setuptools.setup, this > is > > not always the case. > > > > One approach would be to convert them to source packages. Its compilation > > step would call setup.py and the changes it makes to the system would be > > recorded; just like an AUR package would. Then, a build server should > > compile these source packages into binary packages. By default, the build > > server assumes the binary package will work on any system. This > assumption > > can be corrected later, for individual source packages, by manually > > specifying a list of environments to build in/for. Alternatively, if Zero > > Install can conveniently install something with source dependencies these > > days, it might be better not to automatically generate binary packages. > > > > Has anyone else looked into doing this? Any suggestions? > > Sounds like it should work. Compiling the source packages and getting > the diff could be done quite easily with Docker, I guess. > > > -- > talex5 (GitHub/Twitter) http://roscidus.com/blog/ > GPG: 5DD5 8D70 899C 454A 966D 6A51 7513 3C8F 94F6 E0CC > GPG: DA98 25AE CAD0 8975 7CDA BD8E 0713 3F96 CA74 D8BA > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Zero-install-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/zero-install-devel > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Zero-install-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/zero-install-devel