I have done a terrible job advertising and documenting this, but I have a ctypes based wrapper of libusb which therefore does not require Xcode to be installed:
https://code.astraw.com/projects/pylibusb Perhaps it suits your needs? -Andrew Rekow Warren wrote: > Chris and Kevin, thanks for the feedback. > I did this... > > DualG4-2:~ rekow$ python /Applications/pyusb-0.4.1/setup.py install > > ...and got this result... > > running install > running build > running build_ext > building 'usb' extension > Compiling with an SDK that doesn't seem to exist: > /Developer/SDKs/MacOSX10.4u.sdk > Please check your Xcode installation > ... > > Under /Developer/SDKs/ there is no "MacOSX10.4u.sdk", but there is a > "MacOSX10.4.0.sdk" folder. > Have any idea how to fix this? > Warren > > > On Apr 3, 2009, at 11:24 AM, Christopher Barker wrote: > > Chris Rebert wrote: >> On Thu, Apr 2, 2009 at 5:36 PM, Rekow Warren >> <warren_re...@speedyquick.net> wrote: >>> I am a new MacPython (ver 2.6.1) user who has downloaded the "PyUSB" >>> module, >>> but am unclear about how to make it available for use in a program. >>> Included >>> among the downloaded files is 'setup.py' (and 'setup.pyc'). Running > >> You have to give setup.py a command argument; it cannot be run without >> any arguments. That command should give you a list and explanation >> from which you can figure out which command you want. > > Chances are, it is: > > $ python setup.py install > > -Chris > > _______________________________________________ > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > http://mail.python.org/mailman/listinfo/pythonmac-sig _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig