Skip to content

Commit

Permalink
Added mechanism for including external middleware into Wrapyfi extend…
Browse files Browse the repository at this point in the history
…ing available middleware options
  • Loading branch information
fabawi committed Oct 30, 2024
1 parent 5fdf7fb commit 4435cb8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/encoders/astropy_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@

# Modifying the WRAPYFI_PLUGINS_PATH environment variable to include the plugins directory
script_dir = os.path.dirname(os.path.realpath(__file__))
if "WRAPYFI_PLUGINS_PATH" in os.environ:
os.environ["WRAPYFI_PLUGINS_PATHS"] += os.pathsep + script_dir
if "WRAPYFI_PLUGIN_PATHS" in os.environ:
os.environ["WRAPYFI_PLUGIN_PATHS"] += os.pathsep + script_dir
else:
os.environ["WRAPYFI_PLUGIN_PATHS"] = script_dir

Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ numpy = [
]
websocket = [
"python-socketio>=5.0.4",
"python_socketio>=5.0.4",
]
mqtt = [
"paho-mqtt>=2.0",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def check_cv2(default_python="opencv-python"):

setuptools.setup(
name="wrapyfi",
version="0.4.46",
version="0.4.50",
description="Wrapyfi is a wrapper for simplifying Middleware communication",
url="https://github.com/fabawi/wrapyfi/blob/main/",
project_urls={
Expand Down

0 comments on commit 4435cb8

Please sign in to comment.