Fix IfcPatch pyinstaller script to make it easier to distribute ifcpatch.

This commit is contained in:
Dion Moult
2021-08-03 22:30:51 +10:00
parent 2b63698d7c
commit 7403d14001
7 changed files with 32 additions and 45 deletions
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env python3
import os
import subprocess
cmd = f'pyinstaller ./bootstrap.py --name ifcpatch --onefile --clean --add-data "ifcpatch{os.pathsep}ifcpatch"'
subprocess.check_output(cmd, shell=True)