Load user lists & auth config from a YAML file

- Load config only once at startup.
  A lot of jupyterhub config (like user lists) take effect only at
  startup, so live reload is not super useful. It will make the
  software more complex, so let's not do it.
- Add pyyaml as a dependency of tljh.
- Remove escapism dependency since it is not actually used
This commit is contained in:
yuvipanda
2018-06-27 01:18:07 -07:00
parent 4bfc04c225
commit 459b985a19
3 changed files with 97 additions and 5 deletions

View File

@@ -11,6 +11,6 @@ setup(
packages=find_packages(),
include_package_data=True,
install_requires=[
'escapism==1.*'
'pyyaml==4.*'
]
)