Skip to content
Permalink
Browse files

Generate per python version virtualenv

  • Loading branch information
marmeladema committed Oct 22, 2019
1 parent daf7138 commit 00cf7452ef2bcb272dafb09a711301a2ef280ae2
Showing with 2 additions and 2 deletions.
  1. +1 −1 etc/ci/clean_build_artifacts.sh
  2. +1 −1 python/mach_bootstrap.py
@@ -9,4 +9,4 @@ set -o nounset
set -o pipefail

rm -rf target/
rm -rf python/_virtualenv/
rm -rf python/_virtualenv*/
@@ -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:

0 comments on commit 00cf745

Please sign in to comment.
You can’t perform that action at this time.