forked from developmentseed/slingshotSMS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
33 lines (30 loc) · 795 Bytes
/
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
#!/usr/bin/env python
# vim: ai ts=4 sts=4 et sw=4
import sys
from setuptools import setup
# Support for building on mac & linux, and installation
# on Unix
if sys.platform == 'darwin':
extra_options = dict(
setup_requires=['py2app'],
app=['slingshotsms.py'],
)
elif sys.platform == 'win32':
from distutils.core import setup
import py2exe
extra_options = dict(
setup_requires=['py2exe'],
console=['slingshotsms.py'],
excludes=['javax.comm']
)
else:
extra_options = dict(
# Normally unix-like platforms will use "setup.py install"
# and install the main script as such
scripts=['slingshotsms.py'],
)
setup(
name="SlingshotSMS",
data_files=['README.md'],
**extra_options
)