From 8d81c20032abd57f7ab92eb95ffb9361dc06c055 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E8=88=AA=E5=AE=87?= <3364451258@qq.com> Date: Fri, 8 May 2026 16:28:40 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20.gitignore=E5=A2=9E=E5=8A=A0PyInstalle?= =?UTF-8?q?r=E4=BA=A7=E7=89=A9=EF=BC=8C=E7=A7=BB=E9=99=A4=E5=B7=B2?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E7=9A=84spec?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 7 ++++++- cDNA_Analyzer.spec | 45 --------------------------------------------- 2 files changed, 6 insertions(+), 46 deletions(-) delete mode 100644 cDNA_Analyzer.spec diff --git a/.gitignore b/.gitignore index f88bc1f..45c1e96 100644 --- a/.gitignore +++ b/.gitignore @@ -17,4 +17,9 @@ Thumbs.db .obsidian/ # Flask -.playwright-mcp/ \ No newline at end of file +.playwright-mcp/ + +# PyInstaller 打包产物 +dist/ +build/ +*.spec \ No newline at end of file diff --git a/cDNA_Analyzer.spec b/cDNA_Analyzer.spec deleted file mode 100644 index 665ded2..0000000 --- a/cDNA_Analyzer.spec +++ /dev/null @@ -1,45 +0,0 @@ -# -*- mode: python ; coding: utf-8 -*- -from PyInstaller.utils.hooks import collect_all - -datas = [('web/templates', 'templates'), ('web/static', 'static')] -binaries = [] -hiddenimports = ['skimage', 'scipy.ndimage', 'matplotlib.backends.backend_agg'] -tmp_ret = collect_all('skimage') -datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2] - - -a = Analysis( - ['web\\launcher.py'], - pathex=[], - binaries=binaries, - datas=datas, - hiddenimports=hiddenimports, - hookspath=[], - hooksconfig={}, - runtime_hooks=[], - excludes=[], - noarchive=False, - optimize=0, -) -pyz = PYZ(a.pure) - -exe = EXE( - pyz, - a.scripts, - a.binaries, - a.datas, - [], - name='cDNA_Analyzer', - debug=False, - bootloader_ignore_signals=False, - strip=False, - upx=True, - upx_exclude=[], - runtime_tmpdir=None, - console=False, - disable_windowed_traceback=False, - argv_emulation=False, - target_arch=None, - codesign_identity=None, - entitlements_file=None, -)