Skip to content

Commit

Permalink
umu_run: remove vendored dependency logic
Browse files Browse the repository at this point in the history
- zipapp should be the preferred way when umu is used as a runner for a client
  • Loading branch information
R1kaB3rN committed Sep 3, 2024
1 parent 742adb3 commit dce0d49
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions umu/umu_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,6 @@
from subprocess import Popen
from typing import Any

# Add client's runtime path to PYTHONPATH to find dependencies
if (this_path := Path(__file__)).is_relative_to(
Path.home()
) and "runtime" in this_path.parent.parent.name:
sys.path.append(str(this_path.parent.parent))
elif this_path.is_relative_to(Path.home()) and os.environ.get(
"UMU_CLIENT_RTPATH"
):
sys.path.append(os.environ["UMU_CLIENT_RTPATH"])

from Xlib import X, Xatom, display
from Xlib.protocol.request import GetProperty
from Xlib.protocol.rq import Event
Expand Down

0 comments on commit dce0d49

Please sign in to comment.