setup.py 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. from distutils.core import setup
  4. setup(
  5. name="cp210x-program",
  6. version="1.0",
  7. description="Provides access to the EEPROM in an Silabs CP210x",
  8. long_description="""
  9. The goal of this library is to provide access to the EEPROM of an Silabs CP210x
  10. under Linux.
  11. The CP210x is an USB-to-serial chip used in a lot of USB devices (similar to
  12. FTDIs and PL2303). The CP210x has a EEPROM on the chip which can be programmed
  13. via USB. Silabs provides already a library and gui programm to program this
  14. EEPROM, but only for windows.
  15. For more information see:
  16. * http://www.silabs.com/tgwWebApp/public/web_content/products/Microcontrollers/Interface/en/interface.htm
  17. * http://www.silabs.com/public/documents/tpub_doc/anote/Microcontrollers/Interface/en/an144.pdf
  18. Requires:
  19. * libusb: http://libusb.sourceforge.net/
  20. * ctypes: http://starship.python.net/crew/theller/ctypes/
  21. """,
  22. author="Johannes Hölzl",
  23. author_email="johannes.hoelzl@gmx.de",
  24. maintainer="Petr Tesařík",
  25. maintainer_email="cp210x@tesarici.cz",
  26. url="http://cp210x-program.sourceforge.net/",
  27. license="GNU LGPL",
  28. platforms="POSIX",
  29. classifiers=[
  30. "License :: OSI-Approved Open Source :: GNU Library or Lesser General Public License (LGPL)",
  31. "Intended Audience :: Manufacturing",
  32. "Development Status :: 4 - Beta",
  33. "Topic :: System :: Hardware :: Hardware Drivers",
  34. "Programming Language :: Python",
  35. "Operating System :: POSIX :: Linux",
  36. "Operating System :: POSIX :: BSD :: FreeBSD",
  37. "Operating System :: MacOS :: MacOS X",
  38. ],
  39. packages=[
  40. 'cp210x'
  41. ],
  42. scripts=[
  43. 'cp210x-program'
  44. ],
  45. )