pyproject.toml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # Poetry pyproject.toml: https://python-poetry.org/docs/pyproject/
  2. [build-system]
  3. requires = ["poetry_core>=1.0.0"]
  4. build-backend = "poetry.core.masonry.api"
  5. [tool.poetry]
  6. name = "cot_dt2c"
  7. version = "0.1.0"
  8. description = "CoT-dt2c Tool is a python script to convert CoT DT file into corresponding C file"
  9. authors = ["Arm Ltd <tf-a@lists.trustedfirmware.org>"]
  10. license = "BSD-3"
  11. repository = "https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/"
  12. homepage = "https://trustedfirmware-a.readthedocs.io/en/latest/index.html"
  13. # Pypi classifiers: https://pypi.org/classifiers/
  14. classifiers = [
  15. "Development Status :: 3 - Alpha",
  16. "Intended Audience :: Developers",
  17. "Operating System :: OS Independent",
  18. "Topic :: Software Development :: Libraries :: Python Modules",
  19. "License :: OSI Approved :: BSD License",
  20. "Programming Language :: Python :: 3",
  21. "Programming Language :: Python :: 3.8",
  22. "Programming Language :: Python :: 3.9",
  23. ]
  24. [tool.poetry.dependencies]
  25. python = "^3.8"
  26. click = "^8.1.7"
  27. plotly = "^5.23.0"
  28. pydevicetree = "0.0.13"
  29. igraph = "^0.11.6"
  30. pyparsing = "^3.1.2"
  31. [tool.poetry.group.dev]
  32. optional = true
  33. [tool.poetry.group.dev.dependencies]
  34. mypy = "^0.910"
  35. pytest = "^6.2.5"
  36. [tool.mypy]
  37. # https://mypy.readthedocs.io/en/latest/config_file.html#using-a-pyproject-toml-file
  38. python_version = "3.8"
  39. pretty = true
  40. show_traceback = true
  41. color_output = true
  42. [[tool.mypy.overrides]]
  43. module = ["igraph", "pydevicetree", "pydevicetree.ast", "plotly", "plotly.graph_objects"]
  44. ignore_missing_imports = true
  45. [tool.coverage.run]
  46. source = ["tests"]
  47. [tool.coverage.paths]
  48. source = "cot_dt2c"
  49. [tool.poetry.scripts]
  50. # Entry points for the package https://python-poetry.org/docs/pyproject/#scripts
  51. # "cot-dt2c" = "cot_dt2c.__main__:cli"
  52. "cot-dt2c" = "cot_dt2c.__main__:cli"