[Distutils] Fwd: Packaging multiple wheels in the same archive

Wayne Werner waynejwerner at gmail.com
Tue Nov 22 16:03:54 EST 2016


This should've gone to the list but apparently the google groups doesn't
have me signed up? If you get a double post, sorry about that

---------- Forwarded message ----------
From: Wayne Werner <waynejwerner at gmail.com>
Date: Tue, Nov 22, 2016 at 2:59 PM
Subject: Re: [Distutils] Packaging multiple wheels in the same archive
To: Nir Cohen <nir36g at gmail.com>
Cc: distutils-sig <distutils-sig at googlegroups.com>


FWIW you can already specify the `--find-links` option[1] to specify that
you want to install wheels from a given directory. Add `--no-index` if you
want to install from *only* that dir.

An approach that certainly might be interesting is if pip supported a
zipfile of wheels vs a directory of wheels, then this becomes as easy as
zipping up all your wheels.

-Wayne

[1]: https://pip.pypa.io/en/stable/reference/pip_wheel/#cmdoption-f

===========================================================
I welcome VSRE emails. Learn more at http://vsre.info/
===========================================================

On Tue, Nov 22, 2016 at 11:44 AM, Nir Cohen <nir36g at gmail.com> wrote:

> Hey all,
>
> As part of working on Cloudify (http://github.com/cloudify-cosmo) we've
> had to provide a way for customers to install our plugins in an environment
> where PyPI isn't accessible. These plugins are sets of Python packages
> which necessarily depend on one another (i.e. a regular python package with
> dependencies).
>
> We decided that we want to package sets of wheels together created or
> downloaded by `pip wheel`, add relevant metadata, package them together
> into a single archive (tar.gz or zip) and use the same tool which packs
> them up to install them later on, on the destination hosts.
>
> We came up with a tool (http://github.com/cloudify-cosmo/wagon) to do
> just that and that's what we currently use to create and install our
> plugins.
> While wheel solves the problem of generating wheels, there is no single,
> standard method for taking an entire set of dependencies packaged in a
> single location and installing them in a different location.
>
> We thought it would be a good idea to propose a PEP for that and wanted to
> get your feedback before we start writing the proposal. Our proposed
> implementation is not the issue here of course, but rather if you think
> there should be a PEP describing the way multiple wheels should be packaged
> together to create a standalone installable package.
>
> We would greatly appreciate your feedback on this.
>
> Thanks!
>
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20161122/ffda53db/attachment.html>


More information about the Distutils-SIG mailing list