kernel python prefix is always defined, even when it's the same as NB_PYTHON_PREFIX

pull/298/head
Min RK 2018-04-16 10:51:27 +02:00
rodzic c70057d8e2
commit d6bbed3786
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -31,6 +31,8 @@ class CondaBuildPack(BaseImage):
]
if self.py2:
env.append(('KERNEL_PYTHON_PREFIX', '${CONDA_DIR}/envs/kernel'))
else:
env.append(('KERNEL_PYTHON_PREFIX', '${NB_PYTHON_PREFIX}'))
return env
def get_path(self):