Initial commit: GasFlux project with core processing pipelines

This commit is contained in:
2026-01-05 09:33:27 +08:00
commit f085d7c5fe
50 changed files with 10634 additions and 0 deletions

48
build_gasflux_exe.bat Normal file
View File

@ -0,0 +1,48 @@
@echo off
echo ========================================
echo GasFlux RunExample EXE打包工具 (Windows)
echo ========================================
echo.
cd /d "%~dp0"
echo [1/4] 检查Python环境...
python --version
if errorlevel 1 (
echo 错误未找到Python
pause
exit /b 1
)
echo [2/4] 升级pip...
python -m pip install --upgrade pip
echo [3/4] 安装PyInstaller...
python -m pip install pyinstaller
if errorlevel 1 (
echo 错误PyInstaller安装失败
pause
exit /b 1
)
echo [4/4] 开始打包...
python -m PyInstaller --clean gasflux_run_example.spec
if errorlevel 1 (
echo 错误:打包失败
pause
exit /b 1
)
echo.
echo ========================================
echo 打包完成!
echo ========================================
echo.
echo 可执行文件位置dist\GasFlux_RunExample.exe
echo.
echo 使用方法:
echo GasFlux_RunExample.exe input.xlsx
echo GasFlux_RunExample.exe input.xlsx --output result.csv
echo GasFlux_RunExample.exe input.xlsx --no-gasflux
echo.
pause