source: trunk/LocationDo/setup.py@ 212

Last change on this file since 212 was 196, checked in by Nicholas Riley, 19 years ago

LocationDo

File size: 733 bytes
Line 
1"""
2Script for building LocationDo.
3
4Usage:
5 python setup.py py2app
6"""
7from distutils.core import setup, Extension
8import py2app
9
10plist = dict(
11 CFBundleIdentifier='net.sabi.LocationDo',
12 CFBundleName='LocationDo',
13 NSPrincipalClass='LocationDo',
14 LSUIElement=1,
15)
16
17setup(
18 app=["LocationDo.py"],
19 ext_modules=[Extension('SCNetworkReachability',
20 sources=['SCNetworkReachabilitymodule.c'],
21 extra_link_args=['-framework', 'SystemConfiguration',
22 '-framework', 'CoreFoundation'])],
23 data_files=["English.lproj"],
24 options=dict(py2app=dict(plist=plist,
25 resources=['brightness'])),
26)
Note: See TracBrowser for help on using the repository browser.