Skip to content

Commit

Permalink
scripts,tests,utils: use env python3
Browse files Browse the repository at this point in the history
To make it easier for users with virtual environment for this project,
use environment's python3 instead of hardcoding /usr/bin/python3
  • Loading branch information
jailuthra authored and tomba committed Nov 11, 2024
1 parent 0b4f736 commit 8619aca
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion scripts/gen-v4l2.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3

import sys
import re
Expand Down
2 changes: 1 addition & 1 deletion tests/test_install.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3

import unittest
import v4l2
Expand Down
2 changes: 1 addition & 1 deletion tests/tests.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3

import fcntl
import gc
Expand Down
2 changes: 1 addition & 1 deletion utils/cam.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3

from __future__ import annotations

Expand Down
2 changes: 1 addition & 1 deletion utils/mc-dot.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3

import argparse
import errno
Expand Down
2 changes: 1 addition & 1 deletion utils/mc-print.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3

import argparse
import errno
Expand Down
2 changes: 1 addition & 1 deletion utils/yuvconvgen.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3

import ctypes
import pprint
Expand Down

0 comments on commit 8619aca

Please sign in to comment.