Changeset 302 for trunk/StreamVision


Ignore:
Timestamp:
10/26/06 09:56:44 (18 years ago)
Author:
Nicholas Riley
Message:

setup.py: Use setuptools.

StreamVision.py: HIDRemote helpers aren't compiled for Intel yet; just
skip them for now.

Location:
trunk/StreamVision
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/StreamVision/StreamVision.py

    r301 r302  
    1010import struct
    1111import scrape
    12 import HIDRemote
    1312import HotKey
    1413
     
    169168            app(id='org.videolan.vlc').play() # equivalent to playpause
    170169        else:
    171             self.playPause(useStereo=False)     
     170            self.playPause(useStereo=False)
    172171
    173172    def registerZoomWindowHotKey(self):
     
    210209        NSDistributedNotificationCenter.defaultCenter().addObserver_selector_name_object_(self, self.displayTrackInfo, 'com.apple.iTunes.playerInfo', None)
    211210        try:
     211            import HIDRemote
    212212            HIDRemote.connect()
     213        except ImportError:
     214            print "failed to import HIDRemote (XXX fix - on Intel)"
    213215        except OSError, e:
    214216            print "failed to connect to remote: ", e
  • trunk/StreamVision/setup.py

    r300 r302  
    55    python setup.py py2app
    66"""
    7 from distutils.core import setup, Extension
     7from distutils.core import setup
     8from setuptools.extension import Extension
    89import py2app
    910
Note: See TracChangeset for help on using the changeset viewer.