rtl-aid 0.2.1__tar.gz → 0.2.2__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.4
2
2
  Name: rtl-aid
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: CI-native documentation layer for RTL projects
5
5
  Author: vishwaksen-1
6
6
  License-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "rtl-aid"
7
- version = "0.2.1"
7
+ version = "0.2.2"
8
8
  description = "CI-native documentation layer for RTL projects"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.7"
@@ -1,4 +1,4 @@
1
1
  from .core import VerilogWikiParser
2
2
 
3
- __version__ = "0.2.1"
3
+ __version__ = "0.2.2"
4
4
  __all__ = ["VerilogWikiParser"]
@@ -1,8 +1,15 @@
1
1
  import argparse
2
+ from . import __version__
2
3
  from .core import VerilogWikiParser
3
4
 
4
5
  def main():
5
- parser = argparse.ArgumentParser()
6
+ parser = argparse.ArgumentParser(prog="rtldoc")
7
+
8
+ parser.add_argument(
9
+ "--version",
10
+ action="version",
11
+ version=f"%(prog)s {__version__}"
12
+ )
6
13
 
7
14
  group = parser.add_mutually_exclusive_group(required=True)
8
15
 
@@ -4,6 +4,7 @@ import sys
4
4
  import os
5
5
  import argparse
6
6
  import shutil
7
+ from . import __version__
7
8
 
8
9
 
9
10
  def _get_verilator_version():
@@ -228,6 +229,11 @@ def main():
228
229
  prog="rtllint",
229
230
  description="Run verilator lint on Verilog files and tag warnings inline"
230
231
  )
232
+ parser.add_argument(
233
+ "--version",
234
+ action="version",
235
+ version=f"%(prog)s {__version__}"
236
+ )
231
237
  parser.add_argument(
232
238
  "file",
233
239
  nargs="+",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rtl-aid
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: CI-native documentation layer for RTL projects
5
5
  Author: vishwaksen-1
6
6
  License-Expression: MIT
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes