ImageD11.nbGui.install_ImageD11_from_git module#

ImageD11.nbGui.install_ImageD11_from_git.guess_ImageD11_code_path()#

Locates the SCRIPTS folder on the filesystem for ESRF users scripts can hold a local installation of ImageD11 if you need one

Otherwise returns your $HOME/Code folder (assumes you have one).

ImageD11.nbGui.install_ImageD11_from_git.run_ImageD11_from_git(path, checkout)#

path = the folder to use for the git checkout checkout = the name of the git checkout folder within path

if checkout is None then use the system installed python

returns what to put in the PYTHONPATH environment to get the

checked out ImageD11. None if there is not checkout

ImageD11.nbGui.install_ImageD11_from_git.setup_ImageD11_from_git(path=None, checkout='ImageD11')#

Called from notebooks, installs a git checkout of ImageD11 to override the one from the system (in case you need some latest features).