From 08078cfee4dd50e84a92e71b0d92725695e18eb0 Mon Sep 17 00:00:00 2001 From: Eratosthenes Date: Fri, 5 Feb 2010 23:03:55 -0500 Subject: [PATCH] Configure for python 2.5. Add icon for fpdb.exe. --- pyfpdb/py2exe_setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyfpdb/py2exe_setup.py b/pyfpdb/py2exe_setup.py index 1e1ddc6b..6391194f 100644 --- a/pyfpdb/py2exe_setup.py +++ b/pyfpdb/py2exe_setup.py @@ -45,13 +45,14 @@ Py2exe script for fpdb. from distutils.core import setup import py2exe +import glob setup( name = 'fpdb', description = 'Free Poker DataBase', version = '0.12', - console = [ {'script': 'fpdb.py', }, + console = [ {'script': 'fpdb.py', "icon_resources": [(1, "../gfx/fpdb_large_icon.ico")]}, {'script': 'HUD_main.py', }, {'script': 'Configuration.py', } ], @@ -69,7 +70,7 @@ setup( 'logging.conf', (r'mpl-data', [r'C:\Python25\Lib\site-packages\matplotlib\mpl-data\matplotlibrc']), (r'mpl-data\images', glob.glob(r'C:\Python25\Lib\site-packages\matplotlib\mpl-data\images\*.*')), - (r'mpl-data\fonts', glob.glob(r'C:\Python25\Lib\site-packages\matplotlib\mpl-data\fonts\*.*')),) + (r'mpl-data\fonts', glob.glob(r'C:\Python25\Lib\site-packages\matplotlib\mpl-data\fonts\*.*')), ] )