Xialin Liu | da3b62f | 2024-06-28 11:33:41 -0500 | [diff] [blame] | 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 | |
| 6 | [tool.poetry] |
| 7 | name = "cot_dt2c" |
| 8 | version = "0.1.0" |
| 9 | description = "CoT-dt2c Tool is a python script to convert CoT DT file into corresponding C file" |
| 10 | authors = ["Arm Ltd <tf-a@lists.trustedfirmware.org>"] |
| 11 | license = "BSD-3" |
| 12 | repository = "https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/" |
| 13 | homepage = "https://trustedfirmware-a.readthedocs.io/en/latest/index.html" |
| 14 | |
| 15 | # Pypi classifiers: https://pypi.org/classifiers/ |
| 16 | classifiers = [ |
| 17 | "Development Status :: 3 - Alpha", |
| 18 | "Intended Audience :: Developers", |
| 19 | "Operating System :: OS Independent", |
| 20 | "Topic :: Software Development :: Libraries :: Python Modules", |
| 21 | "License :: OSI Approved :: BSD License", |
| 22 | "Programming Language :: Python :: 3", |
| 23 | "Programming Language :: Python :: 3.8", |
| 24 | "Programming Language :: Python :: 3.9", |
| 25 | ] |
| 26 | |
| 27 | |
| 28 | [tool.poetry.dependencies] |
| 29 | python = "^3.8" |
| 30 | click = "^8.1.7" |
Xialin Liu | da3b62f | 2024-06-28 11:33:41 -0500 | [diff] [blame] | 31 | plotly = "^5.23.0" |
Chris Kay | ed2bf2e | 2024-08-15 17:08:07 +0000 | [diff] [blame] | 32 | pydevicetree = "0.0.13" |
Xialin Liu | da3b62f | 2024-06-28 11:33:41 -0500 | [diff] [blame] | 33 | igraph = "^0.11.6" |
Chris Kay | ed2bf2e | 2024-08-15 17:08:07 +0000 | [diff] [blame] | 34 | pyparsing = "^3.1.2" |
Xialin Liu | da3b62f | 2024-06-28 11:33:41 -0500 | [diff] [blame] | 35 | |
Chris Kay | ed2bf2e | 2024-08-15 17:08:07 +0000 | [diff] [blame] | 36 | [tool.poetry.group.dev] |
| 37 | optional = true |
| 38 | |
| 39 | [tool.poetry.group.dev.dependencies] |
Xialin Liu | da3b62f | 2024-06-28 11:33:41 -0500 | [diff] [blame] | 40 | mypy = "^0.910" |
| 41 | pytest = "^6.2.5" |
Xialin Liu | da3b62f | 2024-06-28 11:33:41 -0500 | [diff] [blame] | 42 | |
| 43 | [tool.mypy] |
| 44 | # https://mypy.readthedocs.io/en/latest/config_file.html#using-a-pyproject-toml-file |
Chris Kay | ed2bf2e | 2024-08-15 17:08:07 +0000 | [diff] [blame] | 45 | python_version = "3.8" |
Xialin Liu | da3b62f | 2024-06-28 11:33:41 -0500 | [diff] [blame] | 46 | pretty = true |
| 47 | show_traceback = true |
| 48 | color_output = true |
| 49 | |
Chris Kay | ed2bf2e | 2024-08-15 17:08:07 +0000 | [diff] [blame] | 50 | [[tool.mypy.overrides]] |
| 51 | module = ["igraph", "pydevicetree", "pydevicetree.ast", "plotly", "plotly.graph_objects"] |
| 52 | ignore_missing_imports = true |
| 53 | |
Xialin Liu | da3b62f | 2024-06-28 11:33:41 -0500 | [diff] [blame] | 54 | [tool.coverage.run] |
| 55 | source = ["tests"] |
| 56 | |
Chris Kay | ed2bf2e | 2024-08-15 17:08:07 +0000 | [diff] [blame] | 57 | [tool.coverage.paths] |
Xialin Liu | da3b62f | 2024-06-28 11:33:41 -0500 | [diff] [blame] | 58 | source = "cot_dt2c" |
| 59 | |
| 60 | [tool.poetry.scripts] |
| 61 | # Entry points for the package https://python-poetry.org/docs/pyproject/#scripts |
| 62 | # "cot-dt2c" = "cot_dt2c.__main__:cli" |
| 63 | "cot-dt2c" = "cot_dt2c.__main__:cli" |