Skip to content

Commit cfc2fbb

Browse files
Minor reorganize / Expand comments in pyproject.toml
Signed-off-by: Harry Callahan <[email protected]>
1 parent e2a05b1 commit cfc2fbb

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

pyproject.toml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
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]
610
name = "dvsim"
711
version = "0.1.0"
@@ -10,6 +14,7 @@ authors = [{name = "lowRISC contributors (OpenTitan project)"}]
1014
readme = "README.md"
1115
licence = "Apache-2.0"
1216
license-files = ["LICENSE"]
17+
requires-python = ">=3.10"
1318
dependencies = [
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]
2933
typing = [
@@ -40,17 +44,19 @@ test = [
4044
"pytest>=8.3.3",
4145
"pytest-cov>=5.0.0",
4246
]
43-
dev = ["dvsim[linting,typing,test,debug]"]
4447
release = [
4548
"python-semantic-release>=10.4.1",
4649
]
4750

51+
dev = [
52+
"dvsim[linting,typing,test,debug]"
53+
]
4854
ci = [
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
5460
nix = [
5561
"dvsim[typing,test,debug]",
5662
"gitpython",
@@ -59,10 +65,18 @@ nix = [
5965
[project.scripts]
6066
dvsim = "dvsim.cli:main"
6167

68+
################
69+
# BUILD-SYSTEM #
70+
################
71+
6272
[build-system]
6373
requires = ["hatchling"]
6474
build-backend = "hatchling.build"
6575

76+
########
77+
# TOOL #
78+
########
79+
6680
[tool.hatch]
6781
metadata.allow-direct-references = true
6882

0 commit comments

Comments
 (0)