Skip to content

Commit 50945c1

Browse files
committed
python: print version debug utility
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent d38f554 commit 50945c1

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

BUILD.bazel

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,3 +569,8 @@ filegroup(
569569
name = "netlists",
570570
srcs = [":{}_netlist".format(name) for name in KEPT_MODULES],
571571
)
572+
573+
py_binary(
574+
name = "print_python_version",
575+
srcs = ["print_python_version.py"],
576+
)

print_python_version.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import sys
2+
print(sys.version)
3+

0 commit comments

Comments
 (0)