main.rs
1 //! The executable. 2 #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] // hide console window on Windows in release 3 4 use athenacl; 5 use iced::Sandbox; 6 use rustpython_vm as vm; 7 8 fn main() -> iced::Result { 9 athenacl::App::run(athenacl::App::settings()) 10 } 11 12 // fn main() -> vm::PyResult<()> { 13 // let interpreter = athenacl::init_py_interpreter(); 14 // interpreter.enter(|vm| { 15 // let _ = vm.import("athenaCL.athenacl", None, 0)?; 16 // vm::PyResult::Ok(()) 17 // }) 18 // }