Skip to content

Commit 3be1950

Browse files
Update main.yml
1 parent 9d742b8 commit 3be1950

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,31 @@ jobs:
2121
- name: 📦 Instalar dependências
2222
run: |
2323
python -m pip install --upgrade pip
24-
pip install pyinstaller customtkinter pillow matplotlib numpy scipy control sympy fpdf2
24+
# Lista de dependências baseada em TODOS os seus arquivos .py
25+
pip install pyinstaller customtkinter pillow matplotlib numpy scipy control
2526
2627
- name: ⚙️ Compilar o sistema
2728
run: |
2829
pyinstaller ^
2930
--noconfirm ^
3031
--onefile ^
3132
--windowed ^
33+
--name "SistemaControle" ^
3234
--icon=logo.png ^
3335
--add-data "logo.png;." ^
34-
--add-data "image;image" ^
36+
--add-data "icons;icons" ^
37+
--add-data "criterios_estabilidade.py;." ^
38+
--add-data "analise_segunda_ordem.py;." ^
39+
--add-data "controladores.py;." ^
40+
--collect-all "customtkinter" ^
41+
--collect-all "numpy" ^
42+
--collect-all "scipy" ^
43+
--collect-all "control" ^
44+
--hidden-import "matplotlib.backends.backend_tkagg" ^
3545
tela.py
3646
3747
- name: 📤 Fazer upload do executável
3848
uses: actions/upload-artifact@v4
3949
with:
4050
name: Sistema-de-Controle-EXE
41-
path: dist/tela.exe
51+
path: dist/SistemaControle.exe

0 commit comments

Comments
 (0)