Skip to content

Commit

Permalink
Fix no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Pröpper committed Sep 7, 2013
1 parent 87ac8ec commit b1171de
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions bin/freeze/main.spec
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,9 @@ def dir_files(path, rel):

a = Analysis([os.path.join(viewer_path, 'bin', 'freeze', 'dependencies.py'),
os.path.join(viewer_path, 'bin', 'spykeviewer')],
#pathex=[''],
hiddenimports=[],
hookspath=None,
excludes='Tkinter')
#for s in a.scripts: # Remove useless dependencies script
# if s[0] == 'dependencies':
# a.scripts.remove(s)
# break

if platform.system() == 'Windows':
exename = os.path.join('build', 'pyi.win32', 'main', 'spykeviewer.exe')
Expand Down Expand Up @@ -83,11 +78,4 @@ coll = COLLECT(exe, a.binaries, a.zipfiles, a.datas, strip=None,

if platform.system() == 'Darwin':
app = BUNDLE(exe, appname='Spyke Viewer',
version=find_version(viewer_path))
elif platform.system() == 'Windows': # Bugfix for pythoncom
dist_total = os.path.join(viewer_path, 'bin', 'freeze', dist_dir)
try:
os.rename(os.path.join(dist_total, 'pythoncom27.dll'),
os.path.join(dist_total, 'pythoncom.pyd'))
except OSError, WindowsError:
pass
version=find_version(viewer_path))

0 comments on commit b1171de

Please sign in to comment.