def main(args): new_args = [] for arg in args: new_args.append('-e') new_args.append(arg) pip_install.main(new_args)
def main(args): new_args = [] for arg in args: new_args.append('-e') new_args.append(arg) pip_install.main(new_args)
def next_press(): print("Installing required modules..") pip_install.main() print("Installation done.") selection = str(var.get()) if (selection == "1"): f = open("Config.txt", "w") f.write("Departure") f.close() root.destroy() Finish_setup.main() elif (selection == "2"): f = open("Config.txt", "w") f.write("Arrival") f.close() root.destroy() Finish_setup.main() else: messagebox.showwarning("SOUL Setup", "Select an option: Departure or Arrival") '''var = IntVar()
def main(): pip_install.main('pip setuptools wheel'.split())