ENLIGHTEN
Cross-platform desktop GUI for Wasatch Photonics spectrometers
Loading...
Searching...
No Matches
bootstrap.py File Reference

Namespaces

namespace  bootstrap
 

Functions

 bootstrap.check_if_ui_rebuild_needed ()
 
 bootstrap.fix_path (path)
 

Variables

 bootstrap.action
 
 bootstrap.args = parser.parse_args()
 
list bootstrap.cmd = [env_python, fix_path("scripts\\Enlighten.py")]
 
 bootstrap.enlighten = subprocess.Popen(cmd)
 
str bootstrap.env_dir = '.env'
 
str bootstrap.env_python = f"{env_dir}/enlighten/Scripts/python"
 
 bootstrap.epilog
 
 bootstrap.help
 
 bootstrap.installer = subprocess.Popen([env_python, '-m', 'pip', 'install', '-r', 'requirements.txt'])
 
 bootstrap.installer_special = subprocess.Popen(tok)
 
str bootstrap.is_mac = 'Darwin'
 
str bootstrap.is_win = 'Windows'
 
 bootstrap.parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter)
 
 bootstrap.rebuild_env
 
 bootstrap.rebuild_ui = args.rebuild_ui
 
list bootstrap.tok = [env_python, '-m', 'pip', 'install', 'spc_spectra', 'jcamp']
 
 bootstrap.ui_script = subprocess.Popen(["sh", "scripts/rebuild_resources.sh", "--bootstrap"])
 
 bootstrap.uninstall_pyusb = subprocess.Popen([env_python, '-m', 'pip', 'uninstall', 'pyusb'])