From 6fb9858b3d3daf511f70cb7c5db2b6316031972a Mon Sep 17 00:00:00 2001 From: Rhys Perry Date: Thu, 25 Jan 2024 11:25:49 +0000 Subject: [PATCH] Add specan_ui version to fix error in new setuptools versions --- host/python/specan_ui/CMakeLists.txt | 2 ++ host/python/specan_ui/setup.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/host/python/specan_ui/CMakeLists.txt b/host/python/specan_ui/CMakeLists.txt index d3de2537..7d6341de 100644 --- a/host/python/specan_ui/CMakeLists.txt +++ b/host/python/specan_ui/CMakeLists.txt @@ -23,6 +23,8 @@ set(DEPS ${CMAKE_CURRENT_SOURCE_DIR}/specan/__init__.py ${CMAKE_CURRENT_SOURCE_DIR}/specan/Ubertooth.py) set(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/build) +set(PACKAGE_VERSION 1) + configure_file(${SETUP_PY_IN} ${SETUP_PY}) add_custom_command(OUTPUT ${OUTPUT}/timestamp diff --git a/host/python/specan_ui/setup.py b/host/python/specan_ui/setup.py index 54d08068..ab313639 100644 --- a/host/python/specan_ui/setup.py +++ b/host/python/specan_ui/setup.py @@ -18,7 +18,7 @@ author = "Jared Boone, Michael Ossmann, Dominic Spill", url = "https://github.com/greatscottgadgets/ubertooth/", license = "GPL", - version = '', + version = '1', packages = ['specan'], scripts = ['ubertooth-specan-ui'], classifiers=[