From 4d5034e53434caa0b784344304fe0ea8cf1487c7 Mon Sep 17 00:00:00 2001 From: Florian Bruggisser Date: Fri, 1 Nov 2024 14:49:04 +0100 Subject: [PATCH] fixed workarounds and duit support --- requirements.txt | 4 ++-- setup.py | 2 +- spacestream/__main__.py | 6 +----- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/requirements.txt b/requirements.txt index 9ae8e6c..980c33e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,5 +9,5 @@ numpy<2 # gui related visiongraph-ui~=0.3.0 -duit[open3d]~=0.1.13 -duit-osc~=0.2.0 +duit[open3d]~=0.1.14.0 +duit-osc~=0.3.0 diff --git a/setup.py b/setup.py index 8d1cb52..0abdeeb 100644 --- a/setup.py +++ b/setup.py @@ -99,7 +99,7 @@ def finalize_options(self) -> None: setup( name=NAME, - version="0.3.0", + version="0.3.1", packages=required_packages, entry_points={ "console_scripts": [ diff --git a/spacestream/__main__.py b/spacestream/__main__.py index b9f5e27..7eb49a8 100644 --- a/spacestream/__main__.py +++ b/spacestream/__main__.py @@ -1,7 +1,6 @@ # fix conda load dll problem import faulthandler import os -import threading from pathlib import Path from duit.arguments.Arguments import DefaultArguments @@ -129,10 +128,7 @@ def main(): print(f"{osc_service.api_description()}\n") # run the service - def osc_thread(): - osc_service.run() - - threading.Thread(target=osc_thread, daemon=True).start() + osc_service.run_async() print("OSC Server started!") print(f" Please, listen for changes on port {osc_service.out_port}")