WarpX
Namespaces | Variables
updatePICSAR.py File Reference

Namespaces

 updatePICSAR
 

Variables

 updatePICSAR.REPO_DIR = Path(__file__).parent.parent.parent.absolute()
 
 updatePICSAR.REPLY = input("Are you sure you want to continue? [y/N] ")
 
 updatePICSAR.PICSAR_gh = requests.get('https://api.github.com/repos/ECP-WarpX/picsar/commits/development')
 
 updatePICSAR.PICSAR_HEAD = PICSAR_gh.json()["sha"]
 
 updatePICSAR.PICSAR_cmake_path = str(REPO_DIR.joinpath("cmake/dependencies/PICSAR.cmake"))
 
string updatePICSAR.PICSAR_branch = f"unknown (format issue in {PICSAR_cmake_path})"
 
 updatePICSAR.encoding
 
 updatePICSAR.r_minimal
 
string updatePICSAR.PICSAR_minimal = f"unknown (format issue in {PICSAR_cmake_path})"
 
 updatePICSAR.PICSAR_new_branch = input(f"Update PICSAR commit/branch/sha: ").strip()
 
 updatePICSAR.today = datetime.date.today().strftime("%y.%m")
 
 updatePICSAR.PICSAR_new_minimal = input(f"New minimal PICSAR version (e.g. {today})? ").strip()
 
 updatePICSAR.PICSAR_cmake_content = f.read()