setup.py 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #!/usr/bin/env python3
  2. from __future__ import print_function
  3. from distutils.core import setup
  4. from pyprofibus.version import VERSION_MAJOR, VERSION_MINOR
  5. setup( name = "pyprofibus",
  6. version = "%d.%d" % (VERSION_MAJOR, VERSION_MINOR),
  7. description = "Python PROFIBUS module",
  8. license = "GNU General Public License v2 or later",
  9. author = "Michael Buesch",
  10. author_email = "m@bues.ch",
  11. url = "https://bues.ch/h/profibus",
  12. scripts = [ "gsdparser",
  13. "profisniff",
  14. "pyprofibus-linuxcnc-hal", ],
  15. packages = [ "pyprofibus", ],
  16. keywords = [ "PROFIBUS", "PROFIBUS-DP", "SPS", "PLC",
  17. "Step 7", "Siemens",
  18. "GSD", "GSD parser", "General Station Description", ],
  19. classifiers = [
  20. "Development Status :: 4 - Beta",
  21. "Environment :: Console",
  22. "Intended Audience :: Developers",
  23. "Intended Audience :: Education",
  24. "Intended Audience :: Information Technology",
  25. "Intended Audience :: Manufacturing",
  26. "Intended Audience :: Science/Research",
  27. "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
  28. "Operating System :: POSIX",
  29. "Operating System :: POSIX :: Linux",
  30. # "Programming Language :: Cython",
  31. "Programming Language :: Python",
  32. "Programming Language :: Python :: 2.7",
  33. "Programming Language :: Python :: 3",
  34. "Programming Language :: Python :: Implementation :: CPython",
  35. # "Programming Language :: Python :: Implementation :: PyPy",
  36. # "Programming Language :: Python :: Implementation :: Jython",
  37. # "Programming Language :: Python :: Implementation :: IronPython",
  38. "Topic :: Education",
  39. "Topic :: Home Automation",
  40. "Topic :: Scientific/Engineering",
  41. "Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator",
  42. "Topic :: Software Development :: Embedded Systems",
  43. "Topic :: System :: Hardware",
  44. "Topic :: System :: Hardware :: Hardware Drivers",
  45. "Topic :: System :: Networking",
  46. ],
  47. long_description = open("README.md").read()
  48. )