Skip to content

Commit e6e68cc

Browse files
committed
Checkpoint
Signed-off-by: Matthew Ballance <matt.ballance@gmail.com>
1 parent e640a74 commit e6e68cc

File tree

3,927 files changed

+551128
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,927 files changed

+551128
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ jobs:
1919
./packages/python/bin/python3 -m pip install wheel twine
2020
./packages/python/bin/python3 -m pip install pip setuptools --upgrade
2121
export BUILD_NUM=$GITHUB_RUN_ID
22-
./packages/python/bin/python3 setup.py bdist_wheel --universal
22+
cd python
23+
../packages/python/bin/python3 setup.py bdist_wheel --universal
2324
- name: Build Docs
2425
run: |
2526
make html
@@ -37,4 +38,5 @@ jobs:
3738
with:
3839
user: __token__
3940
password: ${{ secrets.PYPI_API_TOKEN }}
41+
packages-dir: python/dist/
4042

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@ ROOTDIR:=$(dir $(abspath $(lastword $(MAKEFILE_LIST))))
44
html :
55
@$(ROOTDIR)/packages/python/bin/sphinx-build -M html \
66
$(ROOTDIR)/doc/source $(ROOTDIR)/doc/build
7+
8+
.PHONY: test-python-build
9+
test-python-build:
10+
cd $(ROOTDIR)/python && $(ROOTDIR)/packages/python/bin/python3 setup.py bdist_wheel --universal

python/README.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# PyUCIS Viewer
2+
3+
A Qt5-based graphical viewer for coverage data stored in UCIS (Unified Coverage Interoperability Standard) databases.
4+
5+
## Overview
6+
7+
PyUCIS Viewer is a simple, lightweight desktop application for exploring and analyzing functional and code coverage data. It reads coverage information from `.ucisdb` SQLite databases and presents it in an intuitive tree-based interface.
8+
9+
## Features
10+
11+
- Browse coverage hierarchy (instances, covergroups, coverpoints, bins)
12+
- View coverage statistics and metrics
13+
- Explore coverage data organized by design hierarchy
14+
- Inspect individual coverage items and their hit counts
15+
16+
## Installation
17+
18+
### From PyPI
19+
20+
```bash
21+
pip install pyucis-viewer
22+
```
23+
24+
### From Source
25+
26+
```bash
27+
cd python
28+
pip install -e .
29+
```
30+
31+
## Usage
32+
33+
Launch the viewer from the command line:
34+
35+
```bash
36+
pyucis-viewer
37+
```
38+
39+
Then use the GUI to open a `.ucisdb` file and navigate the coverage data.
40+
41+
## Requirements
42+
43+
- Python 3.7+
44+
- PyQt5
45+
- pyucis >= 0.0.6
46+
47+
## Related Projects
48+
49+
- [pyucis](https://github.com/fvutils/pyucis) - Python library for UCIS database access
50+
- [VSCode PyUCIS Extension](../vscode-extension) - VSCode extension for coverage exploration (in development)
51+
52+
## License
53+
54+
Apache 2.0
55+
56+
## Author
57+
58+
Matthew Ballance (matt.ballance@gmail.com)

setup.py renamed to python/setup.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11

22
import os
3+
from pathlib import Path
34
from setuptools import setup, find_namespace_packages
45

56
version="0.0.4"
67

78
if "BUILD_NUM" in os.environ.keys():
89
version = version + "." + os.environ["BUILD_NUM"]
910

11+
# Read long description from README
12+
this_directory = Path(__file__).parent
13+
long_description = (this_directory / "README.md").read_text()
1014

1115
setup(
1216
name = "pyucis-viewer",
@@ -16,9 +20,8 @@
1620
author = "Matthew Ballance",
1721
author_email = "matt.ballance@gmail.com",
1822
description = ("PyUCIS Viewer QT5-based viewer for UCIS data."),
19-
long_description = """
20-
Extremely simple graphical viewer for coverage data in a UCIS database
21-
""",
23+
long_description = long_description,
24+
long_description_content_type = "text/markdown",
2225
license = "Apache 2.0",
2326
keywords = ["SystemVerilog", "Verilog", "RTL", "Coverage"],
2427
url = "https://github.com/fvutils/pyucis-viewer",
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)