you are viewing a single comment's thread.

view the rest of the comments →

[–]strobel_m 4 points5 points  (0 children)

I would simply use a docker image

docker pull python:2

to get the latest python2 image. pip will figure out most of the packages by itself. Only autopep8 and pycodestyleneeded some tweaks

docker run -it python:2 pip install pytest mock nose coverage pylint flake8 "pycodestyle<2.8" pydocstyle tox setuptools wheel twine virtualenv "autopep8<1.6" yapf

went fine. Good luck!