Skip to content

Commit

Permalink
Remove installer
Browse files Browse the repository at this point in the history
Require the user to install a VNC server, since they'll need to install a desktop anyway
  • Loading branch information
manics committed Feb 5, 2024
1 parent 2a325bd commit 539c01d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 167 deletions.
16 changes: 1 addition & 15 deletions jupyter_remote_desktop_proxy/__init__.py
Expand Up @@ -11,21 +11,7 @@ def setup_desktop():
# This is only readable, writeable & searchable by our uid
sockets_dir = tempfile.mkdtemp()
sockets_path = os.path.join(sockets_dir, 'vnc-socket')

# Try to find a local install of vncserver script.
# If installed with jupyter-remote-desktop-proxy.install,
# it will by default in of two location based on the tigervnc version:
# - bundled_bin: tigervnc < 1.11.0
# - bundled_exec: tigervnc > 1.11.0
# If no vncserver is found in the default bundled path, which will
# look in the user's PATH. If which return None, vncserver was not found
# and an exception is raised.
bundled_bin = os.path.join(HERE, 'share/tigervnc/bin')
bundled_libexec = os.path.join(HERE, 'share/tigervnc/libexec')
vncserver = which(
cmd='vncserver',
path=f"{bundled_bin}:{bundled_libexec}:{os.environ.get('PATH', os.defpath)}"
)
vncserver = which('vncserver')

if vncserver is None:
raise FileNotFoundError('jupyter-remote-desktop-proxy: could not find vncserver')
Expand Down
152 changes: 0 additions & 152 deletions jupyter_remote_desktop_proxy/install.py

This file was deleted.

0 comments on commit 539c01d

Please sign in to comment.