windows_vm_config.py (846B)
1 # This Source Code Form is subject to the terms of the Mozilla Public 2 # License, v. 2.0. If a copy of the MPL was not distributed with this 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 4 5 import os 6 import socket 7 import sys 8 9 PYTHON = sys.executable 10 VENV_PATH = os.path.join(os.getcwd(), "build/venv") 11 12 config = { 13 "log_name": "talos", 14 "installer_path": "installer.exe", 15 "virtualenv_path": VENV_PATH, 16 "exes": { 17 "python": PYTHON, 18 "hg": os.path.join(os.environ["PROGRAMFILES"], "Mercurial", "hg"), 19 }, 20 "title": socket.gethostname().split(".")[0], 21 "default_actions": [ 22 "clobber", 23 "download-and-extract", 24 "populate-webroot", 25 "create-virtualenv", 26 "install", 27 "run-tests", 28 ], 29 "tooltool_cache": os.path.join("c:\\", "build", "tooltool_cache"), 30 }