MCPcopy Index your code
hub / github.com/python/mypy / run

Method run

mypyc/lib-rt/setup.py:36–48  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

34 return ["gtest"]
35
36 def run(self) -> None:
37 # Build Google Test, the C++ framework we use for testing C code.
38 # The source code for Google Test is copied to this repository.
39 gtest_dir = os.path.abspath(
40 os.path.join(os.path.dirname(__file__), "..", "external", "googletest")
41 )
42 os.makedirs(self.build_temp, exist_ok=True)
43 subprocess.check_call(
44 ["make", "-f", os.path.join(gtest_dir, "make", "Makefile"), f"GTEST_DIR={gtest_dir}"],
45 cwd=self.build_temp,
46 )
47 self.library_dirs = [self.build_temp]
48 return build_ext.run(self)
49
50
51if "--run-capi-tests" in sys.argv:

Callers 15

install_typesFunction · 0.45
git_merge_baseFunction · 0.45
git_commit_logFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
_profile_type_checkFunction · 0.45
check_requirementsFunction · 0.45
run_mypyFunction · 0.45
build_mypyFunction · 0.45
cloneFunction · 0.45
run_benchmarkFunction · 0.45

Calls 2

joinMethod · 0.45
check_callMethod · 0.45

Tested by 1

run_caseMethod · 0.36