-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup_mac.py
31 lines (25 loc) · 1.11 KB
/
setup_mac.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
"""
This is a setup.py script generated by py2applet
Usage:
python setup_mac.py py2app
"""
from setuptools import setup
from glob import glob
import matplotlib
import sys
# python setup_mac.py py2app
APP = ['paleo_view_v1_5.py']
DATA_FILES= [(u'Map Data', glob(u'/Users/seanhaythorne/Dropbox/GlobalEcology/PaleoView/code/Map Data/*'))]
DATA_FILES.append((u'Bias Corrections', glob(u'//Users/seanhaythorne/Dropbox/GlobalEcology/PaleoView/code/Bias Corrections/*')))
DATA_FILES.append((u'.', glob(u'/Users/seanhaythorne/Dropbox/GlobalEcology/PaleoView/code/paleo_view_config.txt')))
DATA_FILES.append((u'mpl-data/basemap-data', glob(u'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mpl_toolkits/basemap/data/*')))
DATA_FILES.append((u'docx-data/templates', glob(u'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docx/templates/*')))
OPTIONS = {'argv_emulation': True}
setup(
app=APP,
name="PaleoView_v1_5",
data_files=DATA_FILES,
options={'py2app': OPTIONS},
# py_modules=[u'lib/PaleoclimateToolDataFileHelper'],
setup_requires=['py2app'],
)