##// END OF EJS Templates
tests: make test-install.t work on debian systems...
Kyle Lippincott -
r45927:d71693f7 default
parent child Browse files
Show More
@@ -187,6 +187,14 b' On Python 2, we use the 3rd party virtua'
187 #if py3 ensurepip
187 #if py3 ensurepip
188 $ "$PYTHON" -m venv installenv >> pip.log
188 $ "$PYTHON" -m venv installenv >> pip.log
189
189
190 Hack: Debian does something a bit different in ensurepip.bootstrap. This makes
191 it so that pip thinks the 'wheel' wheel is installed so it can build wheels;
192 when it goes to try, however, it shells out to run `python3 -u <setup.py>`,
193 that *doesn't* get the 'wheel' wheel, and it fails with an invalid command
194 'bdist_wheel'. To fix this, we just delete the wheel from where Debian put it in
195 our virtual env. Then pip doesn't think it's installed and doesn't try to build.
196 $ rm installenv/share/python-wheels/wheel-*.whl >/dev/null 2>&1 || true
197
190 Note: we use this weird path to run pip and hg to avoid platform differences,
198 Note: we use this weird path to run pip and hg to avoid platform differences,
191 since it's bin on most platforms but Scripts on Windows.
199 since it's bin on most platforms but Scripts on Windows.
192 $ ./installenv/*/pip install --no-index $TESTDIR/.. >> pip.log
200 $ ./installenv/*/pip install --no-index $TESTDIR/.. >> pip.log
General Comments 0
You need to be logged in to leave comments. Login now