Use venv for python script

This commit is contained in:
clsty
2025-10-07 14:51:45 +08:00
parent 91b55ad2af
commit 5385a4834a
3 changed files with 88 additions and 1 deletions
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env -S\_/bin/sh\_-c\_"source\_\$(eval\_echo\_\$ILLOGICAL_IMPULSE_VIRTUAL_ENV)/bin/activate&&exec\_python\_-E\_"\$0"\_"\$@""
import argparse
import cv2