예제 #1
0
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()
예제 #4
0
def main():
    pip_install.main('pip setuptools wheel'.split())