setup.py 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #!/usr/bin/env python3
  2. import os
  3. basedir = os.path.abspath(os.path.dirname(__file__))
  4. from libcrcgen.version import VERSION_STRING
  5. from setuptools import setup
  6. with open(os.path.join(basedir, "README.rst"), "rb") as fd:
  7. readmeText = fd.read().decode("UTF-8")
  8. setup(
  9. name = "crcgen",
  10. version = VERSION_STRING,
  11. description = "CRC algorithm HDL code generator (VHDL, Verilog, MyHDL)",
  12. license = "GNU General Public License v2 or later",
  13. author = "Michael Büsch",
  14. author_email = "m@bues.ch",
  15. url = "https://bues.ch/h/crcgen",
  16. python_requires = ">=3.7",
  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. )
  46. # vim: ts=8 sw=8 noexpandtab