2011/7/22 Bill Patterson <bpatter...@awarepoint.com>:
> Is there an installer available for Python 2.7? My company wants to move all
> of our scripts onto the same version, however we have a couple that use
> PyUSB to discover and connect and control test devices.
>
I guess you are talking about PyUSB 0.4.3. At the time of release, the
current version used to be 2.6. I haven't updated to 2.7 since then,
and nowadays I have no Windows workstation to generate a new one (this
is one of the reasons PyUSB development is frozen). I can upload an
installer as soon as I can, but generating one isn't that hard, you
need to have Python 2.7 installed (of course), libusb-win32 and the
Visual C++ version which Python was built with (you can use Express
Version, I guess). With that, enter in Visual C++ command prompt, go
to PyUSB folder and run "python setup.py bdist --format=wininst" or
"python setup.py bdist --format=msi". MSI installer is kind of new and
I haven't tried that, took it from Python docs. More details can be
found here: http://docs.python.org/distutils/builtdist.html.

Don't forget that you have to make libusb-win32 include and lib files
available to Visual C++. The easiest way is to copy them to Visual C++
respective folders.

Regards,
Wander

------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to