consolidate paths in config.py

This commit is contained in:
Min RK
2018-07-31 12:02:47 +02:00
parent 75ffa91c85
commit 2760e1adcd
4 changed files with 18 additions and 15 deletions

View File

@@ -1,14 +1,14 @@
"""
JupyterHub config for the littlest jupyterhub.
"""
import copy
import os
import yaml
from systemdspawner import SystemdSpawner
from tljh import user, configurer
import yaml
import copy
INSTALL_PREFIX = os.environ.get('TLJH_INSTALL_PREFIX')
USER_ENV_PREFIX = os.path.join(INSTALL_PREFIX, 'user')
from tljh.config import INSTALL_PREFIX, USER_ENV_PREFIX
class CustomSpawner(SystemdSpawner):