[Biopython-dev] Using NumPy/SciPy/scikit-learn approach to building wheels

Peter Cock p.j.a.cock at googlemail.com
Thu Jul 13 16:00:35 UTC 2017

A brief update - the multibuild system works in that we can
build wheels for Linux, Mac, and Windows (32-bit and 64-bit).




I've not yet asked for the RackSpace credentials to actually
save the wheels prior to uploading them to PyPI.

Unfortunately, getting all the tests to pass is proving frustrating -
the multibuild platform has highlighted some locale issues:


And a strange floating point nan issue:


Plus a minor int/long doctest which I fixed (5 vs 5L), fixed:


On the bright side, so far there is nothing which makes me
want to rush out another release.

I'm happy now with the Windows tests (skipping two problem
tests), so perhaps we should use these wheels as is?



On Fri, Jul 7, 2017 at 4:31 PM, Peter Cock <p.j.a.cock at googlemail.com> wrote:
> Matthew Brett is happy with this plan :)
> I'll be creating a new repository for this (probably next week):
> https://github.com/biopython/biopython-wheels
> Once that is up and running, the goal would be to make a
> trivial commit there to update the version tag, and then TravisCI
> and AppVeyor would be triggered to fetch that tagged commit
> from the main repository, and build all the compiled wheels for us.
> e.g. An example from AstroPy:
> https://github.com/MacPython/astropy-wheels/commit/cf5f4e80d3a6644f7aadc6375662209be85ca2c1
> For now it would be a manual step (after final QC) to upload
> the wheels to PyPI for public use.
> Regards,
> Peter
> On Wed, Jul 5, 2017 at 11:48 AM, Peter Cock <p.j.a.cock at googlemail.com> wrote:
>> Dear Biopythoneers,
>> RE: https://github.com/biopython/biopython/issues/1296
>> There has been an impressive amount of work in the wider
>> NumPy ecosystem to automate building compiled wheels for
>> Linux, Mac and Windows:
>> Here is how NumPy etc does their wheels:
>> https://github.com/MacPython/numpy-wheels
>> A more relevant example of another project using NumPy:
>> https://github.com/MacPython/astropy-wheels
>> Background to the setup:
>> https://github.com/MacPython/wiki/wiki
>> https://github.com/matthew-brett/multibuild
>> Unless anyone has a better idea, I plan to ask Matthew Brett
>> if Biopython can also use the Rackspace donated resources
>> originally for the scikit-learn team for hosting the wheels prior
>> to uploading to PyPI:
>> https://github.com/MacPython/wiki/wiki/Managing-Rackspace
>> Regards,
>> Peter

More information about the Biopython-dev mailing list