tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

linux_config.py (960B)


      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 
      7 PYTHON = "/usr/bin/env python"
      8 VENV_PATH = "%s/build/venv" % os.getcwd()
      9 ABS_WORK_DIR = os.path.join(os.getcwd(), "build")
     10 BINARY_PATH = os.path.join(ABS_WORK_DIR, "application", "firefox", "firefox-bin")
     11 INSTALLER_PATH = os.path.join(ABS_WORK_DIR, "installer.tar.xz")
     12 
     13 config = {
     14    "log_name": "awsy",
     15    "binary_path": BINARY_PATH,
     16    "installer_path": INSTALLER_PATH,
     17    "virtualenv_path": VENV_PATH,
     18    "cmd_timeout": 6500,
     19    "exes": {},
     20    "title": os.uname()[1].lower().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(os.getcwd(), "tooltool_cache"),
     30 }