setup.py 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #!/usr/bin/env python
  2. #
  3. # Copyright (C) 2009-2011 Wander Lairson Costa
  4. #
  5. # The following terms apply to all files associated
  6. # with the software unless explicitly disclaimed in individual files.
  7. #
  8. # The authors hereby grant permission to use, copy, modify, distribute,
  9. # and license this software and its documentation for any purpose, provided
  10. # that existing copyright notices are retained in all copies and that this
  11. # notice is included verbatim in any distributions. No written agreement,
  12. # license, or royalty fee is required for any of the authorized uses.
  13. # Modifications to this software may be copyrighted by their authors
  14. # and need not follow the licensing terms described here, provided that
  15. # the new terms are clearly indicated on the first page of each file where
  16. # they apply.
  17. #
  18. # IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
  19. # FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
  20. # ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
  21. # DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
  22. # POSSIBILITY OF SUCH DAMAGE.
  23. #
  24. # THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
  25. # INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
  26. # FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE
  27. # IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
  28. # NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
  29. # MODIFICATIONS.
  30. from distutils.core import setup
  31. setup(
  32. name='pyusb',
  33. version='1.0.0-a1',
  34. description='Python USB access module',
  35. author='Wander Lairson Costa',
  36. author_email='wander.lairson@gmail.com',
  37. license = 'BSD',
  38. url='http://pyusb.sourceforge.net',
  39. packages=['usb', 'usb.backend'],
  40. long_description =
  41. """
  42. PyUSB offers easy USB devices communication in Python.
  43. It should work without additional code in any environment with
  44. Python >= 2.4, ctypes and an pre-built usb backend library
  45. (currently, libusb 0.1.x, libusb 1.x, and OpenUSB).
  46. """
  47. )