pySVModel 0.4.1__tar.gz → 0.5.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pySVModel
3
- Version: 0.4.1
3
+ Version: 0.5.0
4
4
  Summary: An abstract SystemVerilog language model (incl. Verilog).
5
5
  Home-page: https://GitHub.com/edaa-org/pySVModel
6
6
  Author: Patrick Lehmann
@@ -18,17 +18,48 @@ Classifier: Topic :: Software Development :: Code Generators
18
18
  Classifier: Topic :: Software Development :: Compilers
19
19
  Classifier: License :: OSI Approved :: Apache Software License
20
20
  Classifier: Programming Language :: Python :: 3 :: Only
21
- Classifier: Programming Language :: Python :: 3.7
22
- Classifier: Programming Language :: Python :: 3.8
23
21
  Classifier: Programming Language :: Python :: 3.9
24
22
  Classifier: Programming Language :: Python :: 3.10
25
23
  Classifier: Programming Language :: Python :: 3.11
24
+ Classifier: Programming Language :: Python :: 3.12
25
+ Classifier: Programming Language :: Python :: 3.13
26
26
  Classifier: Development Status :: 3 - Alpha
27
- Requires-Python: >=3.7
27
+ Requires-Python: >=3.9
28
28
  Description-Content-Type: text/markdown
29
+ License-File: LICENSE.md
30
+ Requires-Dist: pyTooling~=7.0
29
31
  Provides-Extra: doc
32
+ Requires-Dist: sphinxcontrib-mermaid~=1.0; extra == "doc"
33
+ Requires-Dist: sphinx_fontawesome>=0.0.6; extra == "doc"
34
+ Requires-Dist: sphinx_autodoc_typehints~=2.5; extra == "doc"
35
+ Requires-Dist: pyTooling~=7.0; extra == "doc"
36
+ Requires-Dist: docutils~=0.21; extra == "doc"
37
+ Requires-Dist: docutils_stubs~=0.0.22; extra == "doc"
38
+ Requires-Dist: autoapi>=2.0.1; extra == "doc"
39
+ Requires-Dist: sphinx~=8.1; extra == "doc"
40
+ Provides-Extra: test
41
+ Requires-Dist: pytest~=8.3; extra == "test"
42
+ Requires-Dist: mypy~=1.13; extra == "test"
43
+ Requires-Dist: Coverage~=7.6; extra == "test"
44
+ Requires-Dist: pyTooling~=7.0; extra == "test"
45
+ Requires-Dist: pytest-cov~=6.0; extra == "test"
46
+ Requires-Dist: lxml~=5.3; extra == "test"
47
+ Requires-Dist: typing_extensions~=4.12; extra == "test"
30
48
  Provides-Extra: all
31
- License-File: LICENSE.md
49
+ Requires-Dist: sphinxcontrib-mermaid~=1.0; extra == "all"
50
+ Requires-Dist: sphinx_fontawesome>=0.0.6; extra == "all"
51
+ Requires-Dist: pytest~=8.3; extra == "all"
52
+ Requires-Dist: sphinx_autodoc_typehints~=2.5; extra == "all"
53
+ Requires-Dist: mypy~=1.13; extra == "all"
54
+ Requires-Dist: Coverage~=7.6; extra == "all"
55
+ Requires-Dist: pyTooling~=7.0; extra == "all"
56
+ Requires-Dist: pytest-cov~=6.0; extra == "all"
57
+ Requires-Dist: docutils~=0.21; extra == "all"
58
+ Requires-Dist: docutils_stubs~=0.0.22; extra == "all"
59
+ Requires-Dist: autoapi>=2.0.1; extra == "all"
60
+ Requires-Dist: lxml~=5.3; extra == "all"
61
+ Requires-Dist: sphinx~=8.1; extra == "all"
62
+ Requires-Dist: typing_extensions~=4.12; extra == "all"
32
63
 
33
64
  <p align="center">
34
65
  <a title="edaa-org.github.io/pySVModel" href="https://edaa-org.github.io/pySVModel"><img height="80px" src="doc/_static/logo.svg"/></a>
@@ -11,7 +11,7 @@
11
11
  # #
12
12
  # License: #
13
13
  # ==================================================================================================================== #
14
- # Copyright 2021-2023 Patrick Lehmann - Boetzingen, Germany #
14
+ # Copyright 2021-2024 Patrick Lehmann - Boetzingen, Germany #
15
15
  # #
16
16
  # Licensed under the Apache License, Version 2.0 (the "License"); #
17
17
  # you may not use this file except in compliance with the License. #
@@ -31,7 +31,7 @@
31
31
  """
32
32
  An abstract SystemVerilog language model.
33
33
 
34
- :copyright: Copyright 2021-2023 Patrick Lehmann - Bötzingen, Germany
34
+ :copyright: Copyright 2021-2024 Patrick Lehmann - Bötzingen, Germany
35
35
  :license: Apache License, Version 2.0
36
36
  """
37
37
  from enum import unique, Enum
@@ -42,9 +42,9 @@ from pyTooling.Decorators import export
42
42
 
43
43
  __author__ = "Patrick Lehmann"
44
44
  __email__ = "Paebbels@gmail.com"
45
- __copyright__ = "2021-2023, Patrick Lehmann"
45
+ __copyright__ = "2021-2024, Patrick Lehmann"
46
46
  __license__ = "Apache License, Version 2.0"
47
- __version__ = "0.4.1"
47
+ __version__ = "0.5.0"
48
48
 
49
49
 
50
50
  @export
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pySVModel
3
- Version: 0.4.1
3
+ Version: 0.5.0
4
4
  Summary: An abstract SystemVerilog language model (incl. Verilog).
5
5
  Home-page: https://GitHub.com/edaa-org/pySVModel
6
6
  Author: Patrick Lehmann
@@ -18,17 +18,48 @@ Classifier: Topic :: Software Development :: Code Generators
18
18
  Classifier: Topic :: Software Development :: Compilers
19
19
  Classifier: License :: OSI Approved :: Apache Software License
20
20
  Classifier: Programming Language :: Python :: 3 :: Only
21
- Classifier: Programming Language :: Python :: 3.7
22
- Classifier: Programming Language :: Python :: 3.8
23
21
  Classifier: Programming Language :: Python :: 3.9
24
22
  Classifier: Programming Language :: Python :: 3.10
25
23
  Classifier: Programming Language :: Python :: 3.11
24
+ Classifier: Programming Language :: Python :: 3.12
25
+ Classifier: Programming Language :: Python :: 3.13
26
26
  Classifier: Development Status :: 3 - Alpha
27
- Requires-Python: >=3.7
27
+ Requires-Python: >=3.9
28
28
  Description-Content-Type: text/markdown
29
+ License-File: LICENSE.md
30
+ Requires-Dist: pyTooling~=7.0
29
31
  Provides-Extra: doc
32
+ Requires-Dist: sphinxcontrib-mermaid~=1.0; extra == "doc"
33
+ Requires-Dist: sphinx_fontawesome>=0.0.6; extra == "doc"
34
+ Requires-Dist: sphinx_autodoc_typehints~=2.5; extra == "doc"
35
+ Requires-Dist: pyTooling~=7.0; extra == "doc"
36
+ Requires-Dist: docutils~=0.21; extra == "doc"
37
+ Requires-Dist: docutils_stubs~=0.0.22; extra == "doc"
38
+ Requires-Dist: autoapi>=2.0.1; extra == "doc"
39
+ Requires-Dist: sphinx~=8.1; extra == "doc"
40
+ Provides-Extra: test
41
+ Requires-Dist: pytest~=8.3; extra == "test"
42
+ Requires-Dist: mypy~=1.13; extra == "test"
43
+ Requires-Dist: Coverage~=7.6; extra == "test"
44
+ Requires-Dist: pyTooling~=7.0; extra == "test"
45
+ Requires-Dist: pytest-cov~=6.0; extra == "test"
46
+ Requires-Dist: lxml~=5.3; extra == "test"
47
+ Requires-Dist: typing_extensions~=4.12; extra == "test"
30
48
  Provides-Extra: all
31
- License-File: LICENSE.md
49
+ Requires-Dist: sphinxcontrib-mermaid~=1.0; extra == "all"
50
+ Requires-Dist: sphinx_fontawesome>=0.0.6; extra == "all"
51
+ Requires-Dist: pytest~=8.3; extra == "all"
52
+ Requires-Dist: sphinx_autodoc_typehints~=2.5; extra == "all"
53
+ Requires-Dist: mypy~=1.13; extra == "all"
54
+ Requires-Dist: Coverage~=7.6; extra == "all"
55
+ Requires-Dist: pyTooling~=7.0; extra == "all"
56
+ Requires-Dist: pytest-cov~=6.0; extra == "all"
57
+ Requires-Dist: docutils~=0.21; extra == "all"
58
+ Requires-Dist: docutils_stubs~=0.0.22; extra == "all"
59
+ Requires-Dist: autoapi>=2.0.1; extra == "all"
60
+ Requires-Dist: lxml~=5.3; extra == "all"
61
+ Requires-Dist: sphinx~=8.1; extra == "all"
62
+ Requires-Dist: typing_extensions~=4.12; extra == "all"
32
63
 
33
64
  <p align="center">
34
65
  <a title="edaa-org.github.io/pySVModel" href="https://edaa-org.github.io/pySVModel"><img height="80px" src="doc/_static/logo.svg"/></a>
@@ -0,0 +1,36 @@
1
+ pyTooling~=7.0
2
+
3
+ [all]
4
+ sphinxcontrib-mermaid~=1.0
5
+ sphinx_fontawesome>=0.0.6
6
+ pytest~=8.3
7
+ sphinx_autodoc_typehints~=2.5
8
+ mypy~=1.13
9
+ Coverage~=7.6
10
+ pyTooling~=7.0
11
+ pytest-cov~=6.0
12
+ docutils~=0.21
13
+ docutils_stubs~=0.0.22
14
+ autoapi>=2.0.1
15
+ lxml~=5.3
16
+ sphinx~=8.1
17
+ typing_extensions~=4.12
18
+
19
+ [doc]
20
+ sphinxcontrib-mermaid~=1.0
21
+ sphinx_fontawesome>=0.0.6
22
+ sphinx_autodoc_typehints~=2.5
23
+ pyTooling~=7.0
24
+ docutils~=0.21
25
+ docutils_stubs~=0.0.22
26
+ autoapi>=2.0.1
27
+ sphinx~=8.1
28
+
29
+ [test]
30
+ pytest~=8.3
31
+ mypy~=1.13
32
+ Coverage~=7.6
33
+ pyTooling~=7.0
34
+ pytest-cov~=6.0
35
+ lxml~=5.3
36
+ typing_extensions~=4.12
@@ -1,8 +1,8 @@
1
1
  [build-system]
2
2
  requires = [
3
- "setuptools >= 68.0.0",
4
- "wheel >= 0.40.0",
5
- "pyTooling >= 5.0.0"
3
+ "setuptools ~= 75.3",
4
+ "wheel ~= 0.44",
5
+ "pyTooling ~= 7.0"
6
6
  ]
7
7
  build-backend = "setuptools.build_meta"
8
8
 
@@ -10,15 +10,18 @@ build-backend = "setuptools.build_meta"
10
10
  line-length = 120
11
11
 
12
12
  [tool.mypy]
13
- python_version = "3.11"
14
- namespace_packages = true
15
-
13
+ files = ["pySVModel"]
14
+ python_version = "3.13"
15
+ #ignore_missing_imports = true
16
+ strict = true
16
17
  pretty = true
17
18
  show_error_context = true
18
-
19
+ show_error_codes = true
20
+ namespace_packages = true
19
21
  html_report = "report/typing"
20
22
 
21
23
  [tool.pytest.ini_options]
24
+ addopts = "--tb=native"
22
25
  # Don't set 'python_classes = *' otherwise, pytest doesn't search for classes
23
26
  # derived from unittest.Testcase
24
27
  python_files = "*"
@@ -27,13 +30,28 @@ filterwarnings = [
27
30
  "error::DeprecationWarning",
28
31
  "error::PendingDeprecationWarning"
29
32
  ]
33
+ junit_logging = "all"
34
+
35
+ [tool.interrogate]
36
+ color = true
37
+ verbose = 1 # possible values: 0 (minimal output), 1 (-v), 2 (-vv)
38
+ fail-under = 59
39
+ exclude = [
40
+ "build",
41
+ "dist",
42
+ "doc",
43
+ "tests",
44
+ "setup.py"
45
+ ]
46
+ ignore-setters = true
30
47
 
31
48
  [tool.coverage.run]
32
49
  branch = true
50
+ relative_files = true
33
51
  omit = [
34
52
  "*site-packages*",
35
53
  "setup.py",
36
- "tests/*"
54
+ "tests/unit/*"
37
55
  ]
38
56
 
39
57
  [tool.coverage.report]
@@ -47,9 +65,12 @@ omit = [
47
65
  "tests/*"
48
66
  ]
49
67
 
68
+ [tool.coverage.xml]
69
+ output = "report/coverage/coverage.xml"
70
+
71
+ [tool.coverage.json]
72
+ output = "report/coverage/coverage.json"
73
+
50
74
  [tool.coverage.html]
51
75
  directory = "report/coverage/html"
52
76
  title="Code Coverage of pySVModel"
53
-
54
- [tool.coverage.xml]
55
- output = "report/coverage/coverage.xml"
@@ -11,7 +11,7 @@
11
11
  # #
12
12
  # License: #
13
13
  # ==================================================================================================================== #
14
- # Copyright 2021-2023 Patrick Lehmann - Boetzingen, Germany #
14
+ # Copyright 2021-2024 Patrick Lehmann - Boetzingen, Germany #
15
15
  # #
16
16
  # Licensed under the Apache License, Version 2.0 (the "License"); #
17
17
  # you may not use this file except in compliance with the License. #
@@ -29,6 +29,8 @@
29
29
  # ==================================================================================================================== #
30
30
  #
31
31
  """Package installer for 'An abstract System Verilog language model'."""
32
+ from setuptools import setup
33
+
32
34
  from pathlib import Path
33
35
  from pyTooling.Packaging import DescribePythonPackageHostedOnGitHub, DEFAULT_CLASSIFIERS
34
36
 
@@ -37,7 +39,7 @@ packageName = "pySVModel"
37
39
  packageDirectory = packageName
38
40
  packageInformationFile = Path(f"{packageDirectory}/__init__.py")
39
41
 
40
- DescribePythonPackageHostedOnGitHub(
42
+ setup(**DescribePythonPackageHostedOnGitHub(
41
43
  packageName=packageName,
42
44
  description="An abstract SystemVerilog language model (incl. Verilog).",
43
45
  gitHubNamespace=gitHubNamespace,
@@ -48,5 +50,8 @@ DescribePythonPackageHostedOnGitHub(
48
50
  "Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
49
51
  "Topic :: Software Development :: Code Generators",
50
52
  "Topic :: Software Development :: Compilers"
51
- ]
52
- )
53
+ ],
54
+ dataFiles={
55
+ packageName: ["py.typed"]
56
+ }
57
+ ))
@@ -1,17 +0,0 @@
1
- pyTooling>=5.0.0
2
-
3
- [all]
4
- sphinx_autodoc_typehints>=1.19.5
5
- sphinx>=5.3.0
6
- sphinx_fontawesome>=0.0.6
7
- sphinxcontrib-mermaid>=0.7.1
8
- pyTooling>=5.0.0
9
- autoapi>=2.0.1
10
-
11
- [doc]
12
- sphinx_autodoc_typehints>=1.19.5
13
- sphinx>=5.3.0
14
- sphinx_fontawesome>=0.0.6
15
- sphinxcontrib-mermaid>=0.7.1
16
- pyTooling>=5.0.0
17
- autoapi>=2.0.1
File without changes
File without changes
File without changes