Merge pull request #2809 from shuffle2/master

make all python files executable and standardize interpreter
This commit is contained in:
Ha Thach
2024-10-07 11:11:54 +07:00
committed by GitHub
25 changed files with 23 additions and 5 deletions

1
tools/build.py Normal file → Executable file
View File

@@ -1,3 +1,4 @@
#!/usr/bin/env python3
import argparse
import random
import os

1
tools/build_utils.py Normal file → Executable file
View File

@@ -1,3 +1,4 @@
#!/usr/bin/env python3
import subprocess
import pathlib
import time

1
tools/gen_doc.py Normal file → Executable file
View File

@@ -1,3 +1,4 @@
#!/usr/bin/env python3
import pandas as pd
from tabulate import tabulate
from pathlib import Path

1
tools/get_deps.py Normal file → Executable file
View File

@@ -1,3 +1,4 @@
#!/usr/bin/env python3
import argparse
import sys
import subprocess

2
tools/iar_gen.py Normal file → Executable file
View File

@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
import os
import sys

1
tools/make_release.py Normal file → Executable file
View File

@@ -1,3 +1,4 @@
#!/usr/bin/env python3
import re
import gen_doc

0
tools/mksunxi.py Normal file → Executable file
View File

View File

@@ -1,4 +1,4 @@
#!/bin/python3
#!/usr/bin/env python3
import argparse
import pcapng
import zipfile