#!/usr/bin/python3 -s
# -*- coding:utf-8 -*-
from os.path import join
from subprocess import call

from pkg_resources import get_distribution

if __name__ == '__main__':
    dist = get_distribution('dot-kernel')
    where = join(dist.location, 'dot_kernel_spec')
    call(['jupyter', 'kernelspec', 'install', '--user', where])
