2 Star 9 Fork 3

AiGenApps/DataShadowArchive

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build_linux.sh 890 Bytes
一键复制 编辑 原始数据 按行查看 历史
tangyujun 提交于 2025-01-09 14:18 . 增加构建脚本、调整项目说明
#!/bin/bash
echo "Checking if PyInstaller is installed..."
if ! pip show pyinstaller > /dev/null 2>&1; then
echo "PyInstaller not found, installing..."
pip install pyinstaller
else
echo "PyInstaller is already installed"
fi
echo "Starting compilation..."
pyinstaller --noconfirm \
--clean \
--name "DataShadow" \
--add-data "src/ui:src/ui" \
--add-data "sources:sources" \
--add-data "README.md:." \
--hidden-import "pymysql" \
--hidden-import "oracledb" \
--hidden-import "pandas" \
--hidden-import "numpy" \
--hidden-import "openpyxl" \
--hidden-import "tkinter" \
--hidden-import "json" \
--hidden-import "csv" \
--onefile \
--icon="sources/icon.png" \
main.py
echo "Cleaning temporary files..."
rm -rf build
rm -f main.spec
echo "Compilation completed!"
echo "Executable file is located in dist directory"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/AiGenApps/data-shadow-archive.git
[email protected]:AiGenApps/data-shadow-archive.git
AiGenApps
data-shadow-archive
DataShadowArchive
master

搜索帮助