prepend ${NINJA_ROOT}/misc to PYTHONPATH in run environment (#18182)

This commit is contained in:
eugeneswalker
2020-08-19 15:06:08 -07:00
committed by GitHub
parent 1c0a92662b
commit b5db5cf259

View File

@@ -40,6 +40,9 @@ def test(self):
ninja_test = Executable('./ninja_test')
ninja_test()
def setup_run_environment(self, env):
env.prepend_path('PYTHONPATH', self.prefix.misc)
def install(self, spec, prefix):
mkdir(prefix.bin)
install('ninja', prefix.bin)