Changeset 182 for trunk/synapse
- Timestamp:
- 09/17/10 00:48:50 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/synapse/setup.py
r181 r182 15 15 import os, sys 16 16 import glob 17 try: 17 18 if (sys.platform == 'win32'): 18 19 import py2exe 19 except: 20 pass20 import shutil 21 import matplotlib 21 22 22 23 ##################################################################### … … 28 29 sys.exit() 29 30 31 if (sys.platform == 'win32'): 32 33 # Remove the build folder, a bit slower but ensures that build contains the latest 34 shutil.rmtree("build", ignore_errors=True) 30 35 31 if (sys.platform == 'win32'):32 36 options={"py2exe": { \ 33 37 "includes": [ \ … … 66 70 ["images/puzzlebox.ico", \ 67 71 "images/puzzlebox_logo.png"]), 68 (r'mpl-data', \69 glob.glob(r'C:\Python26\Lib\site-packages\matplotlib\mpl-data\*.*')), \70 (r'mpl-data', \71 [r'C:\Python26\Lib\site-packages\matplotlib\mpl-data\matplotlibrc']), \72 (r'mpl-data\images', \73 glob.glob(r'C:\Python26\Lib\site-packages\matplotlib\mpl-data\images\*.*')), \74 (r'mpl-data\fonts', \75 glob.glob(r'C:\Python26\Lib\site-packages\matplotlib\mpl-data\fonts\*.*')), \72 ## (r'mpl-data', \ 73 ## glob.glob(r'C:\Python25\Lib\site-packages\matplotlib\mpl-data\*.*')), \ 74 ## (r'mpl-data', \ 75 ## [r'C:\Python25\Lib\site-packages\matplotlib\mpl-data\matplotlibrc']), \ 76 ## (r'mpl-data\images', \ 77 ## glob.glob(r'C:\Python25\Lib\site-packages\matplotlib\mpl-data\images\*.*')), \ 78 ## (r'mpl-data\fonts', \ 79 ## glob.glob(r'C:\Python25\Lib\site-packages\matplotlib\mpl-data\fonts\*.*')), \ 76 80 ] 81 82 # Add the mpl mpl-data folder and rc file 83 data_files += matplotlib.get_py2exe_datafiles() 84 85 matplotlib.use('Qt4Agg') # overrule configuration 86 87 77 88 78 89 else:
Note: See TracChangeset
for help on using the changeset viewer.