a docker container that has python setuptools for building python things
- install docker
docker pull treyduskin/python-setuptools
cd
to your project with asetup.py
$ docker run -v $PWD:/build treyduskin/python-setuptools <your setup.py command>
in some OS environments, the pythonpath is different than what the build environment might be. this can cause problems for building RPMs or DEBs. to handle that, there are tagged docker images that provide the same python-setuptools interface but based on a different OS:
latest
: ubuntu:trusty Dockerfilecentos7
: centos:7 centos7/Dockerfile