A wrapper around pip download that gets manylinux wheels even if they don't exist yet.
This downloader works by fetching manylinux wheels if they exist, and if they don't, it compiles them in a docker container running CentOS 5 (more details here https://github.com/pypa/manylinux).
Install Docker and pydocker (pip install docker
).
./pip-download-manylinux.py -r <pip requirements file> -d <output directory> -c <command> --python-tag <tag> --abi-tag <tag>
The command passed to -c
gets run in the docker container before the download/compilation step (if you would like to issue multiple commands, separate them with a semicolon).
The --python-tag
and --abi-tag
arguments specify the targeted python distribution according to (https://www.python.org/dev/peps/pep-0425/). cp27 and cp27m, respectively, are the default arguments.