[Wheel-builders] manylinux vagrant box
Michael Sarahan
msarahan at gmail.com
Tue Apr 26 09:00:20 EDT 2016
Max, these look good - nice work.
For the conda ones, you don't need to install both miniconda 2 and 3,
though. Just one (either one) will suffice, and the pass the python
version explicitly at build time:
conda build <recipe dir> --python=2.7
I hope this saves you some setup time and space in your final images.
I am not aware of any auditwheel extensions or equivalents for conda right
now.
Best,
Michael
On Tue, Apr 26, 2016, 07:39 Max Linke <max_linke at gmx.de> wrote:
> I have now working templates to create vagrant boxes to build manylinux
> packages.
>
> https://github.com/kain88-de/vagrant-manylinux-template
>
> I will use them myself to build MDAnalysis conda packages soon. Others
> are welcome to use them as well.
>
> Also is there a way to test if the conda-packages/wheels are manylinux
> compatible?
>
> best Max
>
>
> On 04/18/2016 09:25 AM, Max Linke wrote:
> >
> >
> > On 04/18/2016 01:51 AM, Nathaniel Smith wrote:
> >
> > > Docker is pretty easy too, at least from linux -- spinning up a
> >> manylinux environment is just "sudo apt install docker.io && sudo
> >> docker run -ti quay.io/pypa/manylinux1_x86_64 bash". But I haven't
> >> tried using docker on other platforms (though I know it's possible to
> >> install docker somehow), and I haven't tried using vagrant at all :-).
> >>
> >> Given my ignorance, I'd be interested to hear more about what makes
> >> you excited about vagrant!
> >
> > I can build the images myself starting from verified distribution
> > images. Thanks to the packer [1] tool this is very easy to setup.
> > Docker images are hard to verify and AFAIK there is no signing of images
> > or updates to them done. Building your own docker images from the ground
> > up also isn't that easy.
> >
> > It is also super easy to change where images are stored my machine using
> > one environment variable. This is important to me because I usually have
> > small root partitions and a separate home partition.
> >
> > Vagrant should run anywhere virtualbox/kvm and ruby are available. But
> > according to the docker docs it can now run on all platforms as well.
> >
> > Otherwise in the usage they are very similar.
> >
> >> The more the merrier :-). And the conda linux and manylinux build
> >> environments are *very* similar.
> >
> > Good to know. Then I can also look into building wheels after the conda
> > packages are done.
> >
> >
> > [1] https://www.packer.io/
> > _______________________________________________
> > Wheel-builders mailing list
> > Wheel-builders at python.org
> > https://mail.python.org/mailman/listinfo/wheel-builders
> _______________________________________________
> Wheel-builders mailing list
> Wheel-builders at python.org
> https://mail.python.org/mailman/listinfo/wheel-builders
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/wheel-builders/attachments/20160426/c80d8047/attachment.html>
More information about the Wheel-builders
mailing list