Skip to content

Commit 19e101e

Browse files
committed
remove pyconfig.h file already exists error on Windows
1 parent 16dc32f commit 19e101e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

talkshow_noVLC.spec

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ a = Analysis(['talkshow.py'],
55
hookspath=None,
66
runtime_hooks=None)
77

8+
# remove secondary pyconfig.h file to prevent error on windows
9+
for d in a.datas:
10+
if 'pyconfig' in d[0]:
11+
a.datas.remove(d)
12+
break
813

914
def Datafiles(*filenames, **kw):
1015
import os

0 commit comments

Comments
 (0)