Skip to content

Commit

Permalink
Generate per python version virtualenv
Browse files Browse the repository at this point in the history
  • Loading branch information
marmeladema committed Dec 9, 2019
1 parent daf7138 commit 00cf745
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion etc/ci/clean_build_artifacts.sh
Expand Up @@ -9,4 +9,4 @@ set -o nounset
set -o pipefail

rm -rf target/
rm -rf python/_virtualenv/
rm -rf python/_virtualenv*/
2 changes: 1 addition & 1 deletion python/mach_bootstrap.py
Expand Up @@ -145,7 +145,7 @@ def wptserve_path(is_firefox, topdir, *paths):


def _activate_virtualenv(topdir, is_firefox):
virtualenv_path = os.path.join(topdir, "python", "_virtualenv")
virtualenv_path = os.path.join(topdir, "python", "_virtualenv%d.%d" % (sys.version_info[0], sys.version_info[1]))
check_exec_path = lambda path: path.startswith(virtualenv_path)
python = sys.executable # If there was no python, mach wouldn't have run at all!
if not python:
Expand Down

0 comments on commit 00cf745

Please sign in to comment.