Merge pull request #16 from RezecNoble/master

updated build scripts to python3
This commit is contained in:
John
2023-01-27 21:41:34 -05:00
committed by GitHub
3 changed files with 5 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python3
from os import walk, path, makedirs
from subprocess import PIPE, Popen
@@ -34,7 +34,7 @@ def build_table(type, objs):
p = Popen(crc_call, stdin=PIPE, stdout=PIPE)
for obj in sorted(objs):
p.stdin.write(obj + '\n')
p.stdin.write('{}\n'.format(obj).encode('utf-8'))
p.communicate()

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python3
from os import path, makedirs
from subprocess import PIPE, Popen

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python3
from os import walk, path, makedirs
from subprocess import PIPE, Popen
@@ -39,6 +39,6 @@ crc_call = ['./tools/buildCrcStringTable.pl', '-t', tabfile, ifffile]
p = Popen(crc_call, stdin=PIPE, stdout=PIPE)
for obj in allobjs:
p.stdin.write(obj + '\n')
p.stdin.write('{}\n'.format(obj).encode('utf-8'))
p.communicate()