localpaths.py (2144B)
1 import os 2 import sys 3 4 here = os.path.abspath(os.path.dirname(__file__)) 5 repo_root = os.path.abspath(os.path.join(here, os.pardir)) 6 7 sys.path.insert(0, os.path.join(here)) 8 sys.path.insert(0, os.path.join(here, "wptserve")) 9 sys.path.insert(0, os.path.join(here, "third_party", "pywebsocket3")) 10 sys.path.insert(0, os.path.join(here, "third_party", "atomicwrites")) 11 sys.path.insert(0, os.path.join(here, "third_party", "attrs", "src")) 12 sys.path.insert(0, os.path.join(here, "third_party", "html5lib")) 13 sys.path.insert(0, os.path.join(here, "third_party", "zipp")) 14 sys.path.insert(0, os.path.join(here, "third_party", "exceptiongroup", "src")) 15 sys.path.insert(0, os.path.join(here, "third_party", "more-itertools")) 16 sys.path.insert(0, os.path.join(here, "third_party", "packaging")) 17 sys.path.insert(0, os.path.join(here, "third_party", "pathlib2")) 18 sys.path.insert(0, os.path.join(here, "third_party", "pluggy", "src")) 19 sys.path.insert(0, os.path.join(here, "third_party", "py")) 20 sys.path.insert(0, os.path.join(here, "third_party", "pytest")) 21 sys.path.insert(0, os.path.join(here, "third_party", "pytest", "src")) 22 sys.path.insert(0, os.path.join(here, "third_party", "pytest-asyncio")) 23 sys.path.insert(0, os.path.join(here, "third_party", "six")) 24 sys.path.insert(0, os.path.join(here, "third_party", "webencodings")) 25 sys.path.insert(0, os.path.join(here, "third_party", "h2", "src")) 26 sys.path.insert(0, os.path.join(here, "third_party", "hpack", "src")) 27 sys.path.insert(0, os.path.join(here, "third_party", "hyperframe", "src")) 28 sys.path.insert(0, os.path.join(here, "third_party", "certifi")) 29 sys.path.insert(0, os.path.join(here, "third_party", "hyper")) 30 sys.path.insert(0, os.path.join(here, "third_party", "websockets", "src")) 31 sys.path.insert(0, os.path.join(here, "third_party", "iniconfig", "src")) 32 if sys.version_info < (3, 8): 33 sys.path.insert(0, os.path.join(here, "third_party", "importlib_metadata")) 34 sys.path.insert(0, os.path.join(here, "webdriver")) 35 sys.path.insert(0, os.path.join(here, "wptrunner")) 36 sys.path.insert(0, os.path.join(here, "webtransport")) 37 sys.path.insert(0, os.path.join(here, "third_party_modified", "mozlog"))