File: run-venv.py

package info (click to toggle)
glances 4.3.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 11,832 kB
  • sloc: python: 16,009; makefile: 437; javascript: 351; sh: 168
file content (9 lines) | stat: -rwxr-xr-x 185 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#!./venv/bin/python
import re
import sys

from glances import main

if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
    sys.exit(main())