allow setting JUPYTERHUB_VERSION via env

pull/76/head
Min RK 2017-09-08 11:32:32 +02:00
rodzic dd25515a83
commit 579bf664bb
1 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -149,8 +149,12 @@ class BuildPack(LoggingConfigurable):
and the Hub itself should have the same version number.
"""
)
@default('jupyterhub_version')
def _jupyterhub_version_default(self):
"""Allow setting JUPYTERHUB_VERSION via env"""
return os.environ.get('JUPYTERHUB_VERSION') or '0.7.2'
packages = Set(
set(),
help="""
List of packages that are installed in this BuildPack by default.