-
Notifications
You must be signed in to change notification settings - Fork 295
Expand file tree
/
Copy pathpyproject.toml
More file actions
143 lines (126 loc) · 3.94 KB
/
pyproject.toml
File metadata and controls
143 lines (126 loc) · 3.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "vunit_hdl"
dynamic = ["version"]
description="VUnit is an open source unit testing framework for VHDL/SystemVerilog."
urls = {homepage = "https://github.com/VUnit/vunit"}
readme = "README.md"
license = "MPL-2.0"
license-files = ["LICENSE.rst"]
authors = [
{name = "Lars Asplund", email = "lars.anders.asplund@gmail.com"},
{name = "Olof Kraigher", email = "olof.kraigher@gmail.com"},
]
keywords = [
"vunit", "verification", "vhdl", "systemverilog-hdl", "verilog-hdl",
"fpga", "asic", "unit-testing", "testbench", "uvm", "eda", "hdl"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Natural Language :: English",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Topic :: Software Development :: Testing",
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
]
requires-python = ">=3.10"
dependencies = [
"colorama",
"tomli; python_version < '3.11'",
]
[tool.setuptools]
include-package-data = false
[tool.setuptools.packages.find]
where = ["."]
include = [
"vunit", "vunit.com", "vunit.parsing","vunit.parsing.verilog", "vunit.sim_if",
"vunit.test", "vunit.ui"
]
[tool.black]
line-length = 120
[tool.towncrier]
package = "vunit"
package_dir = "vunit"
single_file = false
filename="docs/news.inc"
directory = "docs/news.d/"
title_format = false
issue_format = ":vunit_issue:`{issue}`"
underlines = ["-", "~"]
[[tool.towncrier.section]]
path = ""
[[tool.towncrier.type]]
directory = "breaking"
name = "Breaking Changes"
showcontent = true
[[tool.towncrier.type]]
directory = "bugfix"
name = "Bug Fixes"
showcontent = true
[[tool.towncrier.type]]
directory = "deprecation"
name = "Deprecations"
showcontent = true
[[tool.towncrier.type]]
directory = "doc"
name = "Documentation"
showcontent = true
[[tool.towncrier.type]]
directory = "feature"
name = "Features"
showcontent = true
[[tool.towncrier.type]]
directory = "misc"
name = "Miscellaneous"
showcontent = true
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py{310,311,312,313}-{fmt,unit,lint,docs}, py{310,311,312,313}-{acceptance,vcomponents}-{activehdl,ghdl,modelsim,nvc,rivierapro}, py{310,311,312,313}-coverage
isolated_build = True
[testenv]
recreate=True
passenv=ALDEC_LICENSE_FILE
deps=
fmt: black
pytest
lint: pycodestyle
lint: pylint
lint: mypy
lint: Pygments
lint: setuptools
coverage: coverage
coverage: pycodestyle
coverage: pylint
coverage: mypy
coverage: Pygments
coverage: setuptools
docs: docutils
docs: furo
docs: sphinx==7.3.7
docs: sphinx-argparse==0.4.0
docs: towncrier
setenv=
acceptance-activehdl: VUNIT_SIMULATOR=activehdl
acceptance-ghdl: VUNIT_SIMULATOR=ghdl
acceptance-modelsim: VUNIT_SIMULATOR=modelsim
acceptance-nvc: VUNIT_SIMULATOR=nvc
acceptance-rivierapro: VUNIT_SIMULATOR=rivierapro
commands=
fmt: {envpython} -m black ./ --exclude .eggs|.git|.hg|.mypy_cache|.nox|.tox|.venv|_build|buck-out|build|dist' {posargs}
unit: {envpython} -m pytest -v -ra tests/unit {posargs}
lint: {envpython} -m pytest -v -ra tests/lint {posargs}
docs: {envpython} tools/build_docs.py {envtmpdir}/docsbuild {posargs}
acceptance: {envpython} -m pytest -v -ra tests/acceptance {posargs}
vcomponents: {envpython} vunit/vhdl/verification_components/run.py --clean
coverage: {envpython} -m coverage run --branch --source vunit/ -m pytest tests/
"""