1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
diff --git a/pyproject.toml b/pyproject.toml
index 3d8540f7..8bac4513 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,5 +1,5 @@
[build-system]
-requires = ["setuptools>=40.8.0", "ninja", "wheel", "pybind11>=2.10.1"]
+requires = ["setuptools>=40.8.0", "wheel", "pybind11>=2.10.1"]
build-backend = "setuptools.build_meta"
[tool.pytype]
diff --git a/pytype/tools/analyze_project/pytype_runner.py b/pytype/tools/analyze_project/pytype_runner.py
index 2c7dba42..6e2fcd7c 100644
--- a/pytype/tools/analyze_project/pytype_runner.py
+++ b/pytype/tools/analyze_project/pytype_runner.py
@@ -402,8 +402,7 @@ class PytypeRunner:
# relpath() prevents possibly sensitive directory info from appearing in
# ninja's "Entering directory" message.
c = path_utils.relpath(path_utils.dirname(self.ninja_file))
- command = _get_executable('ninja') + [
- '-k', k, '-C', c, '-j', str(self.jobs)]
+ command = ['ninja', '-k', k, '-C', c, '-j', str(self.jobs)]
if logging.getLogger().isEnabledFor(logging.INFO):
command.append('-v')
ret = subprocess.call(command)
diff --git a/setup.cfg b/setup.cfg
index e9cfac0f..523dcc40 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -38,7 +38,6 @@ install_requires =
libcst
msgspec
networkx
- ninja
pycnite
pydot
tabulate
|