Package: python-virtualenv / 15.1.0+ds-1
Patch seriesview the series file
|system python.patch | (download)||
2 1 + 1 - 0 !
use /usr/bin/python3 in the shebang. Bug-Debian: #663228
|use wheels.patch | (download)||
use distro wheels instead of the bundled wheels. Prepend the wheel paths onto the front of sys.path. Also, when the venv is created, copy the system wheels into <venv>/lib/python-wheels for use by our patched pip wheel. Make sure the command line script uses the system wheels first. Under Debian, we also have to install pkg_resources and _markerlib. Since these get installed from distro wheels, and since Debian splits setuptools and pkg_resources into separate binary packages, they get built into separate wheels. Thus we have to explicitly install pkg_resources from wheel or assumptions made by Python packages that the two always go together will be broken.
|python2 default.patch | (download)||
5 3 + 2 - 0 !
even though /usr/bin/virtualenv is a python 3 script now, in Debian we still want to default to using Python 2 unless the -p/--python argument is given.