summarylogtreecommitdiffstats
path: root/install-wheel-scripts.py
diff options
context:
space:
mode:
Diffstat (limited to 'install-wheel-scripts.py')
-rw-r--r--install-wheel-scripts.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/install-wheel-scripts.py b/install-wheel-scripts.py
index 2f9d9fd80661..0842e4cb991f 100644
--- a/install-wheel-scripts.py
+++ b/install-wheel-scripts.py
@@ -34,11 +34,11 @@ def main():
mod = mod[:-len('.__main__')]
code = f'''\
#!/bin/sh
-exec python3 -m {mod} "$@"
+exec /usr/bin/python3 -m {mod} "$@"
'''
else:
code = f'''\
-#!/usr/bin/env python3
+#!/usr/bin/python3
from {mod} import {fun}
{fun}()
'''