stop tracking build scripts
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
@REM pyinstaller -F -n tidevice ^
|
||||
@REM --hidden-import=tidevice._proto ^
|
||||
@REM --hidden-import=tidevice._instruments ^
|
||||
@REM --hidden-import=tidevice._usbmux ^
|
||||
@REM --hidden-import=tidevice._wdaproxy ^
|
||||
@REM --collect-all tidevice ^
|
||||
@REM --noconsole ^
|
||||
@REM --add-data="C:\Users\milk\AppData\Local\Programs\Python\Python312\Lib\site-packages\tidevice;tidevice" ^
|
||||
@REM tidevice_entry.py
|
||||
|
||||
pyinstaller -F -n tidevice ^
|
||||
--collect-all tidevice ^
|
||||
tidevice_entry.py
|
||||
32
build.bat
32
build.bat
@@ -1,32 +0,0 @@
|
||||
@echo off
|
||||
setlocal
|
||||
cd /d E:\code\Python\iOSAi
|
||||
|
||||
python -m nuitka Module\Main.py ^
|
||||
--standalone ^
|
||||
--msvc=latest ^
|
||||
--windows-console-mode=disable ^
|
||||
--output-filename=IOSAI ^
|
||||
--jobs=8 ^
|
||||
--lto=no ^
|
||||
--assume-yes-for-downloads ^
|
||||
--include-package=Module,Utils,Entity,script ^
|
||||
--include-module=quart,quart_cors,wda,hypercorn,wsproto,anyio,sniffio ^
|
||||
--include-data-dir=resources=resources ^
|
||||
--include-data-dir=SupportFiles=SupportFiles ^
|
||||
--include-data-files="resources/iproxy/*=resources/iproxy/" ^
|
||||
--include-data-files=resources/icon.ico=resources/icon.ico ^
|
||||
--windows-icon-from-ico=resources/icon.ico ^
|
||||
--noinclude-default-mode=nofollow ^
|
||||
--nofollow-import-to=pytest,py.test,unittest,setuptools,doctest,IPython,pydoc ^
|
||||
--nofollow-import-to=sympy,matplotlib
|
||||
|
||||
IF ERRORLEVEL 1 EXIT /B %ERRORLEVEL%
|
||||
|
||||
rem ---- 复制 mini-python ----
|
||||
rmdir /S /Q ".\Main.dist\python-rt" 2>nul
|
||||
xcopy /E /I /Y ".\Needed\mini-python" ".\Main.dist\python-rt\"
|
||||
|
||||
rem ---- 清理可能污染 sys.path 的包 ----
|
||||
rmdir /s /q ".\Main.dist\simplejson" 2>nul
|
||||
del /f /q ".\Main.dist\simplejson.*" 2>nul
|
||||
Reference in New Issue
Block a user