parent
79cac4e919
commit
d91bcdd277
1 changed files with 13 additions and 0 deletions
@ -0,0 +1,13 @@ |
|||||||
|
#!/usr/bin/env python3 |
||||||
|
|
||||||
|
import zipapp |
||||||
|
from argparse import ArgumentParser |
||||||
|
|
||||||
|
from openpilot.common.basedir import BASEDIR |
||||||
|
|
||||||
|
if __name__ == '__main__': |
||||||
|
parser = ArgumentParser(prog='pack-raylib.py', description='Package a raylib UI into a portable executable.', epilog='comma.ai') |
||||||
|
parser.add_argument('module') |
||||||
|
parser.add_argument('-o', '--output', help='output file') |
||||||
|
args = parser.parse_args() |
||||||
|
zipapp.create_archive(BASEDIR + '/openpilot', target=args.output, interpreter='/usr/bin/env python3', main=args.module) |
Loading…
Reference in new issue