Skip to content

Commit

Permalink
remove pyconfig.h file already exists error on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jschaul committed Jul 14, 2014
1 parent 16dc32f commit 19e101e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions talkshow_noVLC.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ a = Analysis(['talkshow.py'],
hookspath=None,
runtime_hooks=None)

# remove secondary pyconfig.h file to prevent error on windows
for d in a.datas:
if 'pyconfig' in d[0]:
a.datas.remove(d)
break

def Datafiles(*filenames, **kw):
import os
Expand Down

0 comments on commit 19e101e

Please sign in to comment.