install

nbstata kernel install script

source

install_kernel_spec


def install_kernel_spec(
    user:bool=True, prefix:NoneType=None
):

source

create_conf_if_needed


def create_conf_if_needed(
    conf_path, conf_file_requested:bool=True
):

Create config file if requested or if Stata not found automatically

print(_conf_default())
[nbstata]
stata_dir = 
edition = 
splash = False
graph_format = png
graph_width = 5.5in
graph_height = 4in
echo = None
missing = .
browse_auto_height = True

source

main


def main(
    argv:NoneType=None
):