Skip to content

Commit

Permalink
Report PBR version.
Browse files Browse the repository at this point in the history
  • Loading branch information
anarkiwi committed May 17, 2024
1 parent 52df999 commit 4ac5f5f
Show file tree
Hide file tree
Showing 4 changed files with 338 additions and 341 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
virtualenvs-create: false
virtualenvs-in-project: false
version: 1.7.1
version: 1.4.2
- name: Get dependencies
run: |
sudo apt-get update && sudo apt-get install -y --no-install-recommends \
Expand Down
4 changes: 3 additions & 1 deletion gamutrf/grscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import logging
import sys
from pathlib import Path
import pbr.version
import webcolors

try:
Expand Down Expand Up @@ -129,7 +130,8 @@ def __init__(
griqtlabs_path = os.path.realpath(
glob.glob("/usr/local/**/libgnuradio-iqtlabs.so", recursive=True)[0]
)
logging.info(f"found gr-iqtlabs: {griqtlabs_path}")
pbr_version = pbr.version.VersionInfo("gamutrf").version_string()
logging.info(f"gamutrf {pbr_version} with found gr-iqtlabs {griqtlabs_path}")

logging.info(f"will scan from {freq_start} to {freq_end}")
freq_range = freq_end - freq_start
Expand Down
Loading

0 comments on commit 4ac5f5f

Please sign in to comment.