setup.py 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #!/usr/bin/env python3
  2. import sys, os
  3. basedir = os.path.abspath(os.path.dirname(__file__))
  4. from libcrcgen.version import VERSION_STRING
  5. from distutils.core import setup
  6. import warnings
  7. warnings.filterwarnings("ignore", r".*'long_description_content_type'.*")
  8. with open(os.path.join(basedir, "README.rst"), "rb") as fd:
  9. readmeText = fd.read().decode("UTF-8")
  10. setup( name = "crcgen",
  11. version = VERSION_STRING,
  12. description = "CRC algorithm code generator",
  13. license = "GNU General Public License v2 or later",
  14. author = "Michael Buesch",
  15. author_email = "m@bues.ch",
  16. url = "https://bues.ch/h/crcgen",
  17. scripts = [
  18. "crcgen",
  19. ],
  20. packages = [
  21. "libcrcgen",
  22. ],
  23. keywords = "CRC Verilog VHDL MyHDL FPGA codegenerator",
  24. classifiers = [
  25. "Development Status :: 5 - Production/Stable",
  26. "Environment :: Console",
  27. "Intended Audience :: Developers",
  28. "Intended Audience :: Education",
  29. "Intended Audience :: Information Technology",
  30. "Intended Audience :: Science/Research",
  31. "Intended Audience :: Telecommunications Industry",
  32. "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
  33. "License :: Public Domain",
  34. "Operating System :: OS Independent",
  35. "Programming Language :: Python",
  36. "Programming Language :: Python :: 3",
  37. "Topic :: Education",
  38. "Topic :: Scientific/Engineering",
  39. "Topic :: Software Development",
  40. "Topic :: Software Development :: Code Generators",
  41. "Topic :: Utilities",
  42. ],
  43. long_description=readmeText,
  44. long_description_content_type="text/x-rst",
  45. )