Re: [Distutils] Install psutil without gcc?

2017-09-08 Thread Matthew Brett
Hi,

On Fri, Sep 8, 2017 at 1:54 PM, Thomas Güttler
 wrote:
> It would be great, if I could install psutil without the need for a gcc on
> linux.
>
> The maintainer (Giampaolo Rodola) is interested, but the roadmap is not
> clear yet.
>
> He said:
>
>> It's something which needs to be investigated. A quick Google searched
>> brought me here:
>> https://github.com/joerick/cibuildwheel
>> ...so it appears it's definitively possible.
>
> Is this the current state of the art, or is there a better way?

I haven't looked at CIBuildwheel in much detail, but my impression is
that it will work well for simple wheels, but I didn't investigate far
to see how well it would cope for more substantial builds.

My own project for the same thing is somewhat less streamlined, but is
relatively flexible:

https://github.com/matthew-brett/multibuild

I did a lot of wheel-build bootstrapping. so there are a lot of
projects that use it - numpy, scipy, matplotlib, pandas, Cython, h5py,
Pillow, scikit-learn, scikit-image, astropy ...  Of course that
density is largely historical, but it does at least mean that the
project is battle tested and relatively well maintained.   I'm happy
to help you get set up.

You might also look at Scikit-Build -
https://github.com/scikit-build/scikit-build - I believe that project
is particularly good if you are using CMake.

By the way, you might prefer the wheel-builders list for this
discussion - https://mail.python.org/mailman/listinfo/wheel-builders

Cheers,

Matthew
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] Install psutil without gcc?

2017-09-08 Thread Wes Turner
Is there a reason that psutil cannot be built as a manylinux1 wheel?

- manylinux1_x86_64
- manylinux1_i686

On Friday, September 8, 2017, Matthew Brett  wrote:

> Hi,
>
> On Fri, Sep 8, 2017 at 1:54 PM, Thomas Güttler
> > wrote:
> > It would be great, if I could install psutil without the need for a gcc
> on
> > linux.
> >
> > The maintainer (Giampaolo Rodola) is interested, but the roadmap is not
> > clear yet.
> >
> > He said:
> >
> >> It's something which needs to be investigated. A quick Google searched
> >> brought me here:
> >> https://github.com/joerick/cibuildwheel
> >> ...so it appears it's definitively possible.
> >
> > Is this the current state of the art, or is there a better way?
>
> I haven't looked at CIBuildwheel in much detail, but my impression is
> that it will work well for simple wheels, but I didn't investigate far
> to see how well it would cope for more substantial builds.
>
> My own project for the same thing is somewhat less streamlined, but is
> relatively flexible:
>
> https://github.com/matthew-brett/multibuild
>
> I did a lot of wheel-build bootstrapping. so there are a lot of
> projects that use it - numpy, scipy, matplotlib, pandas, Cython, h5py,
> Pillow, scikit-learn, scikit-image, astropy ...  Of course that
> density is largely historical, but it does at least mean that the
> project is battle tested and relatively well maintained.   I'm happy
> to help you get set up.
>
> You might also look at Scikit-Build -
> https://github.com/scikit-build/scikit-build - I believe that project
> is particularly good if you are using CMake.
>
> By the way, you might prefer the wheel-builders list for this
> discussion - https://mail.python.org/mailman/listinfo/wheel-builders
>
> Cheers,
>
> Matthew
> ___
> Distutils-SIG maillist  -  Distutils-SIG@python.org 
> https://mail.python.org/mailman/listinfo/distutils-sig
>
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] Install psutil without gcc?

2017-09-08 Thread Matthew Brett
Hi,

On Fri, Sep 8, 2017 at 2:42 PM, Wes Turner  wrote:
> Is there a reason that psutil cannot be built as a manylinux1 wheel?
>
> - manylinux1_x86_64
> - manylinux1_i686

Thomas can correct me if I'm wrong, but I think he was looking for an
easy automated way to do this.

Cheers,

Matthew
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] Install psutil without gcc?

2017-09-08 Thread Wes Turner
I should've read this issue before responding:
https://github.com/giampaolo/psutil/issues/824

On Friday, September 8, 2017, Matthew Brett  wrote:

> Hi,
>
> On Fri, Sep 8, 2017 at 2:42 PM, Wes Turner  > wrote:
> > Is there a reason that psutil cannot be built as a manylinux1 wheel?
> >
> > - manylinux1_x86_64
> > - manylinux1_i686
>
> Thomas can correct me if I'm wrong, but I think he was looking for an
> easy automated way to do this.
>
> Cheers,
>
> Matthew
>
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] Install psutil without gcc?

2017-09-11 Thread Thomas Güttler

Am 08.09.2017 um 14:54 schrieb Thomas Güttler:

It would be great, if I could install psutil without the need for a gcc on 
linux.

The maintainer (Giampaolo Rodola) is interested, but the roadmap is not clear 
yet.

He said:

 > It's something which needs to be investigated. A quick Google searched 
brought me here:
 > https://github.com/joerick/cibuildwheel
 > ...so it appears it's definitively possible.

Is this the current state of the art, or is there a better way?

Regards,
   Thomas Güttler

Related issue: https://github.com/giampaolo/psutil/issues/824


A very big "thank you" for all experts, who jumped from here to the above issue 
of psutils.

Regards,
  Thomas Güttler


--
Thomas Guettler http://www.thomas-guettler.de/
I am looking for feedback: https://github.com/guettli/programming-guidelines
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig