Last change
on this file since 234 was 211, checked in by Nicholas Riley, 19 years ago |
setup.py: use HotKey module (shared with LocationDo) instead of
_StreamVision module
HotKeymodule.c: the aforementioned module
StreamVision.py: use HotKey module instead of _StreamVision module.
Fix StreamVision.displayTrackInfo to not crash when iTunes jealously
hides the names of iTMS tracks from us. Switch track rating keys to
shift-F10/F11 to avoid conflicting with my preferred Expose/Dashboard
key bindings on my iBook.
|
File size:
568 bytes
|
Rev | Line | |
---|
[188] | 1 | """
|
---|
| 2 | Script for building the example.
|
---|
| 3 |
|
---|
| 4 | Usage:
|
---|
| 5 | python setup.py py2app
|
---|
| 6 | """
|
---|
| 7 | from distutils.core import setup, Extension
|
---|
| 8 | import py2app
|
---|
| 9 |
|
---|
| 10 | plist = dict(
|
---|
| 11 | CFBundleIdentifier='net.sabi.StreamVision',
|
---|
| 12 | CFBundleName='StreamVision',
|
---|
| 13 | NSPrincipalClass='StreamVision',
|
---|
| 14 | LSUIElement=1,
|
---|
| 15 | )
|
---|
| 16 |
|
---|
| 17 | setup(
|
---|
| 18 | app=["StreamVision.py"],
|
---|
[211] | 19 | ext_modules=[Extension('HotKey',
|
---|
| 20 | sources=['HotKeymodule.c'],
|
---|
[188] | 21 | extra_link_args=['-framework', 'Carbon'])],
|
---|
| 22 | data_files=["English.lproj"],
|
---|
| 23 | options=dict(py2app=dict(plist=plist)),
|
---|
| 24 | )
|
---|
Note:
See
TracBrowser
for help on using the repository browser.