-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
36 lines (30 loc) · 1.19 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#! /usr/bin/env python
from distutils.core import setup
import py2exe, matplotlib, sys
path = sys.path[0]
sys.path.append(path + r'/input_windows')
sys.path.append(path + r'/database')
sys.path.append(path + r'/solvers')
sys.path.append(path + r'/postprocess')
files = matplotlib.get_py2exe_datafiles()
files.append(('', ['capsimicon.ico']))
#files.append(('batch_files', ['batch_files/one_layer_example.txt']))
#files.append(('batch_files', ['batch_files/multiple_run_example.txt']))
#files.append(('batch_files', ['batch_files/two_layer.txt']))
setup(
data_files = files,
options = {'py2exe':
{'packages': ['matplotlib', 'pytz'],
'excludes': ['_gtkagg', '_tkagg'],
'dll_excludes': ['MSVCP90.dll', 'libgdk-win32-2.0-0.dll',
'libgobject-2.0-0.dll',
'libgdk_pixbuf-2.0-0.dll',
'tcl84.dll', 'tk84.dll']
}
},
windows = [{
'script': 'capsim.py',
'icon_resources': [(0, 'capsimicon.ico')]
}
],
)