Skip to content
Snippets Groups Projects
Commit 7f8fa93b authored by Steffen Vogel's avatar Steffen Vogel :santa_tone2:
Browse files

rename package

parent 09e6a3f5
No related branches found
No related tags found
No related merge requests found
......@@ -31,5 +31,5 @@ where = src
[options.entry_points]
console_scripts =
rwth-jupyter = rwth_jupyter.main:main
jupyter-remote = rwth_jupyter.main:main
rwth-jupyter = jupyter_remote_spawn.main:main
jupyter-remote = jupyter_remote_spawn.main:main
......@@ -6,8 +6,8 @@ import requests
import logging
import gzip
from rwth_jupyter.process import Process
from rwth_jupyter.config import CHISEL_PATH
from jupyter_remote_spawn.process import Process
from jupyter_remote_spawn.config import CHISEL_PATH
class Chisel(Process):
......
......@@ -6,8 +6,8 @@ import urllib
import json
import os
from rwth_jupyter.process import Process
from rwth_jupyter.config import HOME_PATH
from jupyter_remote_spawn.process import Process
from jupyter_remote_spawn.config import HOME_PATH
class JupyterSingleuser(Process):
......
......@@ -9,10 +9,10 @@ import requests
import socket
import time
from rwth_jupyter.config import *
from rwth_jupyter.jupyter import JupyterSingleuser, JupyterHub
from rwth_jupyter.chisel import Chisel
from rwth_jupyter.sshfs import Sshfs
from jupyter_remote_spawn.config import *
from jupyter_remote_spawn.jupyter import JupyterSingleuser, JupyterHub
from jupyter_remote_spawn.chisel import Chisel
from jupyter_remote_spawn.sshfs import Sshfs
jupyter = None
chisel = None
......@@ -84,7 +84,7 @@ def main():
# Check if proper server is running in JupyterHub
server = hub.get_server()
if server is None:
hub.spawn('hpc')
hub.spawn()
# Get tunnel connection details
r = requests.post(JUPYTERHUB_URL+f'/user/{hub.username}/api/v1',
......
......@@ -6,8 +6,8 @@ import requests
import tempfile
import rpmfile
from rwth_jupyter.process import run
from rwth_jupyter.config import SSHFS_PATH
from jupyter_remote_spawn.process import run
from jupyter_remote_spawn.config import SSHFS_PATH
class Sshfs:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment