Commit c19524aa authored by Vasilis Tsiligiannis's avatar Vasilis Tsiligiannis

Introduce 'satnogs_info.py' script

Signed-off-by: Vasilis Tsiligiannis's avatarVasilis Tsiligiannis <acinonyx@openwrt.gr>
parent d8352c18
Pipeline #17012095 passed with stage
in 9 minutes and 45 seconds
......@@ -28,6 +28,10 @@ endif()
########################################################################
# Install python sources
########################################################################
configure_file(satnogs_info.py.in ${CMAKE_BINARY_DIR}/satnogs_info.py
@ONLY
)
GR_PYTHON_INSTALL(
FILES
__init__.py
......@@ -35,6 +39,7 @@ GR_PYTHON_INSTALL(
hw_settings.py
satnogs_upsat_transmitter.py
utils.py
${CMAKE_BINARY_DIR}/satnogs_info.py
DESTINATION ${GR_PYTHON_DIR}/satnogs
)
......
#! /usr/bin/python
"""SatNOGS Information script"""
import sys
import json
VERSION = "@VERSION@"
INFO = {
"name": "gr-satnogs",
"version": VERSION,
}
json.dump(INFO, sys.stdout)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment