################## DEPRECATION NOTICE ##################
This repository is no longer in use due to the Rackspace CDN servers no longer
being available. Wheel building for NumExpr is now (Dec-2020) being performed
via GitHub Actions on the master branch at www.github.com/pydata/numexpr
.
##################################### Building and uploading numexpr wheels #####################################
We automate wheel building using this custom github repository that builds on the travis-ci OSX machines and the travis-ci Linux machines.
The travis-ci interface for the builds is https://travis-ci.org/MacPython/numexpr-wheels
Appveyor interface at https://ci.appveyor.com/project/matthew-brett/numexpr-wheels
The driving github repository is https://github.com/MacPython/numexpr-wheels
The wheel-building repository:
repair
(Manylinux1_). delocate
and auditwheel
copy the required dynamic
libraries into the wheel and relinks the extension modules against the
copied libraries;The resulting wheels are therefore self-contained and do not need any external dynamic libraries apart from those provided as standard by OSX / Linux as defined by the manylinux1 standard.
The .travis.yml
file in this repository has a line containing the API key
for the Rackspace container encrypted with an RSA key that is unique to the
repository - see http://docs.travis-ci.com/user/encryption-keys. This
encrypted key gives the travis build permission to upload to the Rackspace
directory pointed to by http://wheels.scipy.org.
You will likely want to edit the .travis.yml
and appveyor.yml
files to
specify the BUILD_COMMIT
before triggering a build - see below.
You will need write permission to the github repository to trigger new builds on the travis-ci interface. Contact us on the mailing list if you need this.
You can trigger a build by:
numexpr-wheels
repository (e.g. with git commit --allow-empty
); orIn general, it is better to trigger a build with a commit, because this makes a new set of build products and logs, keeping the old ones for reference. Keeping the old build logs helps us keep track of previous problems and successful builds.
The numexpr-wheels
repository will build the commit specified in the
BUILD_COMMIT
at the top of the .travis.yml
and appveyor.yml
files.
This can be any naming of a commit, including branch name, tag name or commit
hash.
Be careful, http://wheels.scipy.org points to a container on a distributed content delivery network. It can take up to 15 minutes for the new wheel file to get updated into the container at http://wheels.scipy.org.
The same contents appear at http://a365fff413fe338398b6-1c8a9b3114517dc5fe17b7c3f8c63a43.r19.cf2.rackcdn.com/; you might prefer this address because it is https.
When the wheels are updated, you can download them to your machine manually, and then upload them manually to pypi, or by using twine_. You can also use a script for doing this, housed at : https://github.com/MacPython/terryfy/blob/master/wheel-uploader
For the wheel-uploader
script, you'll need twine and `beautiful soup 4