forked from dkav/Circuitscape.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup-mac.py
41 lines (34 loc) · 1.17 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
32
33
34
35
36
37
38
39
40
41
"""
This is a setup.py script generated by py2applet
Usage:
python setup.py py2app
"""
import pytz
pytz.zoneinfo = pytz.tzinfo
pytz.zoneinfo.UTC = pytz.UTC
from setuptools import setup
from circuitscape import __version__, __author__, __email__
PACKAGES = ['pyamg', 'wx']
INCLUDES = []
DATA_FILES = ['circuitscape/cs_logo.jpg', 'circuitscape']
OPTIONS = {'includes': INCLUDES,
'packages': PACKAGES,
'argv_emulation': True,
'plist': { 'CFBundleIdentifier': 'Circuitscape',
'CFBundleGetInfoString': 'Circuitscape: Circuit theoretic landscape connectivity',
'CFBundleDisplayName': 'Circuitscape',
'CFBundleIconFile': 'cs_logo.jpg',
'CFBundleIdentifier': 'org.circuitscape',
'CFBundleName': 'Circuitscape'
}
}
setup(
app = ['bin/csgui.py'],
name = 'Circuitscape',
setup_requires = ['py2app'],
data_files = DATA_FILES,
options = {'py2app': OPTIONS},
version = __version__,
author = __author__,
author_email = __email__,
)