Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 978 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 978 Bytes

pip-download-manylinux-wrapper

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).

Installation

Install Docker and pydocker (pip install docker).

Usage

./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.