diff --git a/.gitignore b/.gitignore index 0e03e15..f850c9a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ /.build/ +/build.log +/dist/ diff --git a/build.log b/build.log deleted file mode 100644 index 6266196..0000000 --- a/build.log +++ /dev/null @@ -1,221 +0,0 @@ -gitdesk build - Python 3.15.2 (C:\Users\Lenrui\AppData\Local\Python\pythoncore-3.15-64\python.exe) on win32 -Folder: D:\Gitea\GitDesk - -[1/4] Build environment -> C:\Users\Lenrui\AppData\Local\Python\pythoncore-3.15-64\python.exe -m venv D:\Gitea\GitDesk\.build\venv -Using D:\Gitea\GitDesk\.build\venv - -[2/4] Installing PyInstaller and Textual (downloads them the first time) -> D:\Gitea\GitDesk\.build\venv\Scripts\python.exe -m pip install --disable-pip-version-check --upgrade pip -Requirement already satisfied: pip in .\.build\venv\Lib\site-packages (26.2.2) -Collecting pip - Downloading pip-26.3-py3-none-any.whl.metadata (4.6 kB) -Downloading pip-26.3-py3-none-any.whl (2.0 MB) - ---------------------------------------- 2.0/2.0 MB 32.4 MB/s 0:00:00 -Installing collected packages: pip - Attempting uninstall: pip - Found existing installation: pip 26.2.2 - Uninstalling pip-26.2.2: - Successfully uninstalled pip-26.2.2 -Successfully installed pip-26.3 -> D:\Gitea\GitDesk\.build\venv\Scripts\python.exe -m pip install --disable-pip-version-check --upgrade pyinstaller -r D:\Gitea\GitDesk\requirements.txt -Collecting pyinstaller - Downloading pyinstaller-6.22.3-py3-none-win_amd64.whl.metadata (8.5 kB) -Collecting textual>=8.2 (from -r D:\Gitea\GitDesk\requirements.txt (line 1)) - Using cached textual-8.2.8-py3-none-any.whl.metadata (9.1 kB) -Collecting altgraph (from pyinstaller) - Downloading altgraph-0.17.5-py2.py3-none-any.whl.metadata (7.5 kB) -Collecting packaging>=22.0 (from pyinstaller) - Downloading packaging-26.3-py3-none-any.whl.metadata (3.5 kB) -Collecting pefile>=2022.5.30 (from pyinstaller) - Downloading pefile-2024.8.26-py3-none-any.whl.metadata (1.4 kB) -Collecting pyinstaller-hooks-contrib>=2026.7 (from pyinstaller) - Downloading pyinstaller_hooks_contrib-2026.9-py3-none-any.whl.metadata (16 kB) -Collecting pywin32-ctypes>=0.2.1 (from pyinstaller) - Downloading pywin32_ctypes-0.2.3-py3-none-any.whl.metadata (3.9 kB) -Collecting setuptools>=42.0.0 (from pyinstaller) - Downloading setuptools-84.2.1-py3-none-any.whl.metadata (6.6 kB) -Collecting markdown-it-py>=2.1.0 (from markdown-it-py[linkify]>=2.1.0->textual>=8.2->-r D:\Gitea\GitDesk\requirements.txt (line 1)) - Using cached markdown_it_py-4.2.0-py3-none-any.whl.metadata (7.4 kB) -Collecting mdit-py-plugins (from textual>=8.2->-r D:\Gitea\GitDesk\requirements.txt (line 1)) - Using cached mdit_py_plugins-0.6.1-py3-none-any.whl.metadata (2.9 kB) -Collecting platformdirs<5,>=3.6.0 (from textual>=8.2->-r D:\Gitea\GitDesk\requirements.txt (line 1)) - Using cached platformdirs-4.14.5-py3-none-any.whl.metadata (5.7 kB) -Collecting pygments<3.0.0,>=2.19.2 (from textual>=8.2->-r D:\Gitea\GitDesk\requirements.txt (line 1)) - Using cached pygments-2.21.0-py3-none-any.whl.metadata (2.5 kB) -Collecting rich>=14.2.0 (from textual>=8.2->-r D:\Gitea\GitDesk\requirements.txt (line 1)) - Using cached rich-15.0.0-py3-none-any.whl.metadata (18 kB) -Collecting typing-extensions<5.0.0,>=4.4.0 (from textual>=8.2->-r D:\Gitea\GitDesk\requirements.txt (line 1)) - Using cached typing_extensions-4.16.0-py3-none-any.whl.metadata (3.3 kB) -Collecting mdurl~=0.1 (from markdown-it-py>=2.1.0->markdown-it-py[linkify]>=2.1.0->textual>=8.2->-r D:\Gitea\GitDesk\requirements.txt (line 1)) - Using cached mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB) -Collecting linkify-it-py<3,>=1 (from markdown-it-py[linkify]>=2.1.0->textual>=8.2->-r D:\Gitea\GitDesk\requirements.txt (line 1)) - Using cached linkify_it_py-2.2.0-py3-none-any.whl.metadata (8.6 kB) -Downloading pyinstaller-6.22.3-py3-none-win_amd64.whl (1.5 MB) - ---------------------------------------- 1.5/1.5 MB 31.6 MB/s 0:00:00 -Using cached textual-8.2.8-py3-none-any.whl (731 kB) -Using cached platformdirs-4.14.5-py3-none-any.whl (35 kB) -Using cached pygments-2.21.0-py3-none-any.whl (1.3 MB) -Using cached typing_extensions-4.16.0-py3-none-any.whl (45 kB) -Using cached markdown_it_py-4.2.0-py3-none-any.whl (91 kB) -Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB) -Using cached linkify_it_py-2.2.0-py3-none-any.whl (21 kB) -Downloading packaging-26.3-py3-none-any.whl (129 kB) -Downloading pefile-2024.8.26-py3-none-any.whl (74 kB) -Downloading pyinstaller_hooks_contrib-2026.9-py3-none-any.whl (462 kB) -Downloading pywin32_ctypes-0.2.3-py3-none-any.whl (30 kB) -Using cached rich-15.0.0-py3-none-any.whl (310 kB) -Downloading setuptools-84.2.1-py3-none-any.whl (876 kB) - ---------------------------------------- 876.3/876.3 kB 50.8 MB/s 0:00:00 -Downloading altgraph-0.17.5-py2.py3-none-any.whl (21 kB) -Using cached mdit_py_plugins-0.6.1-py3-none-any.whl (66 kB) -Installing collected packages: altgraph, typing-extensions, setuptools, pywin32-ctypes, pygments, platformdirs, pefile, packaging, mdurl, linkify-it-py, pyinstaller-hooks-contrib, markdown-it-py, rich, pyinstaller, mdit-py-plugins, textual - -Successfully installed altgraph-0.17.5 linkify-it-py-2.2.0 markdown-it-py-4.2.0 mdit-py-plugins-0.6.1 mdurl-0.1.2 packaging-26.3 pefile-2024.8.26 platformdirs-4.14.5 pygments-2.21.0 pyinstaller-6.22.3 pyinstaller-hooks-contrib-2026.9 pywin32-ctypes-0.2.3 rich-15.0.0 setuptools-84.2.1 textual-8.2.8 typing-extensions-4.16.0 - -[3/4] Building the executable (takes a minute) -> D:\Gitea\GitDesk\.build\venv\Scripts\python.exe -m PyInstaller --noconfirm --clean --onefile --name gitdesk --collect-submodules textual --collect-data textual --collect-submodules rich --specpath D:\Gitea\GitDesk\.build\work --workpath D:\Gitea\GitDesk\.build\work --distpath D:\Gitea\GitDesk\dist D:\Gitea\GitDesk\gitdesk.py -225 INFO: PyInstaller: 6.22.3, contrib hooks: 2026.9 -225 INFO: Python: 3.15.2 -253 INFO: Platform: Windows-11-10.0.26200-SP0 -253 INFO: Python environment: D:\Gitea\GitDesk\.build\venv -254 INFO: wrote D:\Gitea\GitDesk\.build\work\gitdesk.spec -256 INFO: Removing temporary files and cleaning cache in C:\Users\Lenrui\AppData\Local\pyinstaller -885 INFO: Module search paths (PYTHONPATH): -['D:\\Gitea\\GitDesk', - 'C:\\Users\\Lenrui\\AppData\\Local\\Python\\pythoncore-3.15-64\\python315.zip', - 'C:\\Users\\Lenrui\\AppData\\Local\\Python\\pythoncore-3.15-64\\DLLs', - 'C:\\Users\\Lenrui\\AppData\\Local\\Python\\pythoncore-3.15-64\\Lib', - 'C:\\Users\\Lenrui\\AppData\\Local\\Python\\pythoncore-3.15-64', - 'D:\\Gitea\\GitDesk\\.build\\venv', - 'D:\\Gitea\\GitDesk\\.build\\venv\\Lib\\site-packages', - 'D:\\Gitea\\GitDesk'] -1149 INFO: Appending 'datas' from .spec -1150 INFO: checking Analysis -1150 INFO: Building Analysis because Analysis-00.toc is non existent -1150 INFO: Looking for Python shared library... -1150 INFO: Using Python shared library: C:\Users\Lenrui\AppData\Local\Python\pythoncore-3.15-64\python315.dll -1150 INFO: Running Analysis Analysis-00.toc -1150 INFO: Target bytecode optimization level: 0 -1150 INFO: Initializing module dependency graph... -1158 INFO: Initializing module graph hook caches... -1173 INFO: Analyzing modules for base_library.zip ... -2171 INFO: Processing standard module hook 'hook-math.py' from 'D:\\Gitea\\GitDesk\\.build\\venv\\Lib\\site-packages\\PyInstaller\\hooks' -2272 INFO: Processing standard module hook 'hook-encodings.py' from 'D:\\Gitea\\GitDesk\\.build\\venv\\Lib\\site-packages\\PyInstaller\\hooks' -4442 INFO: Processing standard module hook 'hook-difflib.py' from 'D:\\Gitea\\GitDesk\\.build\\venv\\Lib\\site-packages\\PyInstaller\\hooks' -4457 INFO: Processing standard module hook 'hook-heapq.py' from 'D:\\Gitea\\GitDesk\\.build\\venv\\Lib\\site-packages\\PyInstaller\\hooks' -4653 INFO: Processing standard module hook 'hook-pickle.py' from 'D:\\Gitea\\GitDesk\\.build\\venv\\Lib\\site-packages\\PyInstaller\\hooks' -6096 INFO: Caching module dependency graph... -6110 INFO: Analyzing D:\Gitea\GitDesk\gitdesk.py -6438 INFO: Processing standard module hook 'hook-multiprocessing.util.py' from 'D:\\Gitea\\GitDesk\\.build\\venv\\Lib\\site-packages\\PyInstaller\\hooks' -6529 INFO: Processing standard module hook 'hook-xml.py' from 'D:\\Gitea\\GitDesk\\.build\\venv\\Lib\\site-packages\\PyInstaller\\hooks' -6831 INFO: Processing standard module hook 'hook-sysconfig.py' from 'D:\\Gitea\\GitDesk\\.build\\venv\\Lib\\site-packages\\PyInstaller\\hooks' -6841 INFO: Processing standard module hook 'hook-_ctypes.py' from 'D:\\Gitea\\GitDesk\\.build\\venv\\Lib\\site-packages\\PyInstaller\\hooks' -7327 INFO: Processing pre-find-module-path hook 'hook-tkinter.py' from 'D:\\Gitea\\GitDesk\\.build\\venv\\Lib\\site-packages\\PyInstaller\\hooks\\pre_find_module_path' -7329 INFO: TclTkInfo: initializing cached Tcl/Tk info... -7549 INFO: Processing standard module hook 'hook-_tkinter.py' from 'D:\\Gitea\\GitDesk\\.build\\venv\\Lib\\site-packages\\PyInstaller\\hooks' -7582 INFO: Processing standard module hook 'hook-rich.py' from 'D:\\Gitea\\GitDesk\\.build\\venv\\Lib\\site-packages\\_pyinstaller_hooks_contrib\\stdhooks' -8102 INFO: Processing standard module hook 'hook-pygments.py' from 'D:\\Gitea\\GitDesk\\.build\\venv\\Lib\\site-packages\\PyInstaller\\hooks' -9397 INFO: Processing pre-safe-import-module hook 'hook-typing_extensions.py' from 'D:\\Gitea\\GitDesk\\.build\\venv\\Lib\\site-packages\\PyInstaller\\hooks\\pre_safe_import_module' -9399 INFO: SetuptoolsInfo: initializing cached setuptools info... -10121 INFO: Processing standard module hook 'hook-platform.py' from 'D:\\Gitea\\GitDesk\\.build\\venv\\Lib\\site-packages\\PyInstaller\\hooks' -10240 INFO: Processing standard module hook 'hook-webbrowser.py' from 'D:\\Gitea\\GitDesk\\.build\\venv\\Lib\\site-packages\\PyInstaller\\hooks' -10489 INFO: Processing pre-safe-import-module hook 'hook-platformdirs.py' from 'D:\\Gitea\\GitDesk\\.build\\venv\\Lib\\site-packages\\PyInstaller\\hooks\\pre_safe_import_module' -10500 INFO: Processing standard module hook 'hook-platformdirs.py' from 'D:\\Gitea\\GitDesk\\.build\\venv\\Lib\\site-packages\\_pyinstaller_hooks_contrib\\stdhooks' -11887 INFO: Analyzing hidden import 'textual.__main__' -11930 INFO: Analyzing hidden import 'textual._binary_encode' -11935 INFO: Analyzing hidden import 'textual._doc' -11942 INFO: Analyzing hidden import 'textual._layout_resolve' -11944 INFO: Analyzing hidden import 'textual._sleep' -11946 INFO: Analyzing hidden import 'textual.drivers._byte_stream' -11949 INFO: Analyzing hidden import 'textual.drivers._input_reader' -11952 INFO: Analyzing hidden import 'textual.drivers.web_driver' -11959 INFO: Analyzing hidden import 'textual.logging' -11961 INFO: Analyzing hidden import 'textual.pad' -11963 INFO: Analyzing hidden import 'textual.renderables.gradient' -11966 INFO: Analyzing hidden import 'textual.widgets._markdown_viewer' -11967 INFO: Analyzing hidden import 'textual.widgets._tab' -11967 INFO: Analyzing hidden import 'textual.widgets._tab_pane' -11967 INFO: Analyzing hidden import 'textual.widgets.button' -11968 INFO: Analyzing hidden import 'textual.widgets.collapsible' -11968 INFO: Analyzing hidden import 'textual.widgets.data_table' -11969 INFO: Analyzing hidden import 'textual.widgets.directory_tree' -11969 INFO: Analyzing hidden import 'textual.widgets.input' -11969 INFO: Analyzing hidden import 'textual.widgets.markdown' -11969 INFO: Analyzing hidden import 'textual.widgets.rule' -11970 INFO: Analyzing hidden import 'textual.widgets.select' -11971 INFO: Analyzing hidden import 'textual.widgets.selection_list' -11971 INFO: Analyzing hidden import 'textual.widgets.tabbed_content' -11972 INFO: Analyzing hidden import 'textual.widgets.text_area' -11972 INFO: Analyzing hidden import 'textual.widgets.tree' -11973 INFO: Analyzing hidden import 'rich._unicode_data.unicode10-0-0' -11980 INFO: Analyzing hidden import 'rich._unicode_data.unicode11-0-0' -11988 INFO: Analyzing hidden import 'rich._unicode_data.unicode12-0-0' -11996 INFO: Analyzing hidden import 'rich._unicode_data.unicode12-1-0' -12004 INFO: Analyzing hidden import 'rich._unicode_data.unicode13-0-0' -12012 INFO: Analyzing hidden import 'rich._unicode_data.unicode14-0-0' -12021 INFO: Analyzing hidden import 'rich._unicode_data.unicode15-0-0' -12028 INFO: Analyzing hidden import 'rich._unicode_data.unicode15-1-0' -12036 INFO: Analyzing hidden import 'rich._unicode_data.unicode16-0-0' -12044 INFO: Analyzing hidden import 'rich._unicode_data.unicode17-0-0' -12052 INFO: Analyzing hidden import 'rich._unicode_data.unicode4-1-0' -12057 INFO: Analyzing hidden import 'rich._unicode_data.unicode5-0-0' -12061 INFO: Analyzing hidden import 'rich._unicode_data.unicode5-1-0' -12066 INFO: Analyzing hidden import 'rich._unicode_data.unicode5-2-0' -12071 INFO: Analyzing hidden import 'rich._unicode_data.unicode6-0-0' -12076 INFO: Analyzing hidden import 'rich._unicode_data.unicode6-1-0' -12080 INFO: Analyzing hidden import 'rich._unicode_data.unicode6-2-0' -12085 INFO: Analyzing hidden import 'rich._unicode_data.unicode6-3-0' -12090 INFO: Analyzing hidden import 'rich._unicode_data.unicode7-0-0' -12095 INFO: Analyzing hidden import 'rich._unicode_data.unicode8-0-0' -12101 INFO: Analyzing hidden import 'rich._unicode_data.unicode9-0-0' -12108 INFO: Analyzing hidden import 'rich.bar' -12110 INFO: Analyzing hidden import 'rich.diagnose' -12112 INFO: Analyzing hidden import 'rich.filesize' -12113 INFO: Analyzing hidden import 'rich.layout' -12124 INFO: Analyzing hidden import 'rich.logging' -12129 INFO: Analyzing hidden import 'rich.progress' -12164 INFO: Analyzing hidden import 'rich.prompt' -12172 INFO: Processing module hooks (post-graph stage)... -13638 INFO: Processing standard module hook 'hook-_tkinter.py' from 'D:\\Gitea\\GitDesk\\.build\\venv\\Lib\\site-packages\\PyInstaller\\hooks' -13643 INFO: Performing binary vs. data reclassification (18 entries) -13715 INFO: Looking for ctypes DLLs -13777 INFO: Analyzing run-time hooks ... -13780 INFO: Including run-time hook 'pyi_rth_inspect.py' from 'D:\\Gitea\\GitDesk\\.build\\venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks' -13782 INFO: Including run-time hook 'pyi_rth_pkgutil.py' from 'D:\\Gitea\\GitDesk\\.build\\venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks' -13783 INFO: Including run-time hook 'pyi_rth_multiprocessing.py' from 'D:\\Gitea\\GitDesk\\.build\\venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks' -13785 INFO: Including run-time hook 'pyi_rth__tkinter.py' from 'D:\\Gitea\\GitDesk\\.build\\venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks' -13794 INFO: Creating base_library.zip... -13807 INFO: Looking for dynamic libraries -14152 INFO: Extra DLL search directories (AddDllDirectory): [] -14152 INFO: Extra DLL search directories (PATH): [] -14367 INFO: Warnings written to D:\Gitea\GitDesk\.build\work\gitdesk\warn-gitdesk.txt -14408 INFO: Graph cross-reference written to D:\Gitea\GitDesk\.build\work\gitdesk\xref-gitdesk.html -14429 INFO: checking PYZ -14429 INFO: Building PYZ because PYZ-00.toc is non existent -14429 INFO: Building PYZ (ZlibArchive) D:\Gitea\GitDesk\.build\work\gitdesk\PYZ-00.pyz -14802 INFO: Building PYZ (ZlibArchive) D:\Gitea\GitDesk\.build\work\gitdesk\PYZ-00.pyz completed successfully. -14841 INFO: checking PKG -14841 INFO: Building PKG because PKG-00.toc is non existent -14841 INFO: Building PKG (CArchive) gitdesk.pkg -15840 INFO: Building PKG (CArchive) gitdesk.pkg completed successfully. -15842 INFO: Bootloader D:\Gitea\GitDesk\.build\venv\Lib\site-packages\PyInstaller\bootloader\Windows-64bit-intel\run.exe -15842 INFO: checking EXE -15842 INFO: Building EXE because EXE-00.toc is non existent -15842 INFO: Building EXE from EXE-00.toc -15842 INFO: Copying bootloader EXE to D:\Gitea\GitDesk\dist\gitdesk.exe -15895 INFO: Copying icon to EXE -15923 INFO: Copying 0 resources to EXE -15923 INFO: Embedding manifest in EXE -15948 INFO: Appending PKG archive to EXE -16042 INFO: Fixing EXE headers -16280 INFO: Building EXE from EXE-00.toc completed successfully. -16282 INFO: Build complete! The results are available in: D:\Gitea\GitDesk\dist - -[4/4] Checking that the new executable starts -gitdesk selftest ok - -====================================================================== -Done: D:\Gitea\GitDesk\dist\gitdesk.exe (18 MB) -Copy it anywhere (a folder on your PATH is handy) and run 'gitdesk' inside a repo, -or just double-click it. diff --git a/dist/gitdesk.exe b/dist/gitdesk.exe deleted file mode 100644 index 48064e7..0000000 Binary files a/dist/gitdesk.exe and /dev/null differ