Skip to content

Commit d71b909

Browse files
committed
2 parents 6b4c422 + ffadb7e commit d71b909

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

binpython.spec

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@
33

44
block_cipher = None
55
from pywebio.utils import pyinstaller_datas
6-
strpywebiodatas = str(pyinstaller_datas())
7-
newpywebiodatas = strpywebiodatas.replace('[', '').replace(']', '').replace('"', '')
8-
binpythondatas = [newpywebiodatas, ('C:\\Users\\xingyujie\\Documents\\GitHub\\binpython\\webui.py', '.')].replace('"', '')
6+
97
a = Analysis(['binpython.py'],
108
pathex=[],
119
binaries=[],
12-
datas=binpythondatas,
10+
datas=pyinstaller_datas(),
1311
hiddenimports=[],
1412
hookspath=[],
1513
hooksconfig={},
@@ -40,4 +38,4 @@ exe = EXE(pyz,
4038
target_arch=None,
4139
codesign_identity=None,
4240
entitlements_file=None,
43-
icon='py.ico')
41+
icon='py.ico')

0 commit comments

Comments
 (0)