install

nbstata kernel install script

source

install_kernel_spec

 install_kernel_spec (user=True, prefix=None)

source

create_conf_if_needed

 create_conf_if_needed (conf_path, conf_file_requested=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 = .

source

main

 main (argv=None)