Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gbenson/dead-horse

Docker image for Python 2 work
https://github.com/gbenson/dead-horse

docker python2

Last synced: 3 days ago
JSON representation

Docker image for Python 2 work

Awesome Lists containing this project

README

        

# Dead horse
Docker image for Python 2 work.

## Usage
`cd` into your project directory, then enter the Python 2 world:
```sh
cd /where/ever
docker run --rm -it --mount type=bind,src=$(pwd),target=/work gbenson/python:2
```
Create a virtual environment:
```sh
virtualenv venv2
. venv2/bin/activate
```
Stop pip complaining all the time:
```sh
pip config set global.no_python_version_warning True
```