From 8b4b1186bc2db58c32750f9f7535edac3952db1b Mon Sep 17 00:00:00 2001 From: dengrb1 <125752069+dengrb1@users.noreply.github.com> Date: Thu, 11 May 2023 23:09:20 +0800 Subject: [PATCH] pip helper --- GUI_delete.pyw | 4 ++-- install.pyw | 30 +++++++++++++++++++++--------- web_install.pyw | 1 - 3 files changed, 23 insertions(+), 12 deletions(-) diff --git a/GUI_delete.pyw b/GUI_delete.pyw index 0aaa3b1..c9874e6 100644 --- a/GUI_delete.pyw +++ b/GUI_delete.pyw @@ -64,7 +64,7 @@ def fh(): # button bt_qt = Button(root, text='pyqt5删除', command=pyqt) bt_pygame = Button(root, text='pygame删除', command=pygame) -bt_wxpython = Button(frame, text='wxpython删除', command=wxpython) +bt_wx = Button(frame, text='wxpython删除', command=wxpython) bt_kivy = Button(frame, text='kivy删除', command=kivy) bt_pyside = Button(frame, text='pyside6删除', command=pyside6) bt_flexx = Button(frame, text='flexx删除', command=flexx) @@ -83,7 +83,7 @@ bt_matplotlib.pack() bt_seaborn.pack() bt_flexx.pack() bt_pysimpleGUI.pack() -bt_wxpython.pack() +bt_wx.pack() bt_fh.pack() diff --git a/install.pyw b/install.pyw index a3d11bb..431fead 100644 --- a/install.pyw +++ b/install.pyw @@ -65,15 +65,27 @@ def fh(): root.destroy() # Button -pip_gui = Button(frame, text='GUI类安装', command=gui_install).pack() -pip_web = Button(frame, text='web类安装', command=web_install).pack() -pip_computer = Button(frame, text='机器学习类库安装', command=computer_install).pack() -pip_pyinstaller = Button(frame, text='pyinstall安装', command=pyinstaller).pack() -pip_tqdm = Button(frame, text='tqdm安装', command=tqdm).pack() -pip_nuitka = Button(frame, text='nuitka安装', command=nuitka).pack() -pip_pywin32 = Button(frame, text='pywin32安装', command=pywin32).pack() -pip_numpy = Button(frame, text='numpy安装', command=numpy).pack() -pip_fh = Button(frame,text='返回', command=fh).pack() +pip_gui = Button(frame, text='GUI类安装', command=gui_install) +pip_web = Button(frame, text='web类安装', command=web_install) +pip_computer = Button(frame, text='机器学习类库安装', command=computer_install) +pip_pyinstaller = Button(frame, text='pyinstaller安装', command=pyinstaller) +pip_tqdm = Button(frame, text='tqdm安装', command=tqdm) +pip_nuitka = Button(frame, text='nuitka安装', command=nuitka) +pip_pywin32 = Button(frame, text='pywin32安装', command=pywin32) +pip_numpy = Button(frame, text='numpy安装', command=numpy) +pip_fh = Button(frame,text='返回', command=fh) + +# pack and label +Label(root, text='安装模式').pack() +pip_gui.pack() +pip_web.pack() +pip_computer.pack() +pip_pyinstaller.pack() +pip_tqdm.pack() +pip_nuitka.pack() +pip_pywin32.pack() +pip_numpy.pack() +pip_fh.pack() # mainloop diff --git a/web_install.pyw b/web_install.pyw index f02d033..ea8045f 100644 --- a/web_install.pyw +++ b/web_install.pyw @@ -79,7 +79,6 @@ bt_sanic.pack() bt_nameko.pack() bt_pydantic.pack() bt_fh.pack() -bt_fh.pack() # mainloop