22# Licensed under the Apache License, Version 2.0, see LICENSE for details.
33# SPDX-License-Identifier: Apache-2.0
44
5+ # ##########
6+ # PROJECT #
7+ # ##########
8+
59[project ]
610name = " dvsim"
711version = " 0.1.0"
@@ -10,6 +14,7 @@ authors = [{name = "lowRISC contributors (OpenTitan project)"}]
1014readme = " README.md"
1115licence = " Apache-2.0"
1216license-files = [" LICENSE" ]
17+ requires-python = " >=3.10"
1318dependencies = [
1419 # Keep sorted
1520 " click>=8.1.7" ,
@@ -23,7 +28,6 @@ dependencies = [
2328 " tabulate>=0.9.0" ,
2429 " toml>=0.10.2" ,
2530]
26- requires-python = " >=3.10"
2731
2832[project .optional-dependencies ]
2933typing = [
@@ -40,17 +44,19 @@ test = [
4044 " pytest>=8.3.3" ,
4145 " pytest-cov>=5.0.0" ,
4246]
43- dev = [" dvsim[linting,typing,test,debug]" ]
4447release = [
4548 " python-semantic-release>=10.4.1" ,
4649]
4750
51+ dev = [
52+ " dvsim[linting,typing,test,debug]"
53+ ]
4854ci = [
4955 " dvsim[linting,typing,test]" ,
5056 " gitpython" ,
5157]
52-
53- # drop out ruff as it contains a rust binary that needs to be installed by the flake
58+ # Dependency set to be installed automatically in the direnv-activated nix devshell
59+ # - Leave out ruff(linting) as it contains a rust binary that needs to be installed by the flake
5460nix = [
5561 " dvsim[typing,test,debug]" ,
5662 " gitpython" ,
@@ -59,10 +65,18 @@ nix = [
5965[project .scripts ]
6066dvsim = " dvsim.cli:main"
6167
68+ # ###############
69+ # BUILD-SYSTEM #
70+ # ###############
71+
6272[build-system ]
6373requires = [" hatchling" ]
6474build-backend = " hatchling.build"
6575
76+ # #######
77+ # TOOL #
78+ # #######
79+
6680[tool .hatch ]
6781metadata.allow-direct-references = true
6882
0 commit comments