Skip to content

Commit 1690b37

Browse files
committed
Revert Windows .exe workflow commits
This reverts commits 6d3e585, f99d43f, 1f80e7e, 58b3946, e99ba4b
1 parent 6d3e585 commit 1690b37

6 files changed

Lines changed: 4 additions & 173 deletions

File tree

.github/workflows/windows-exe.yaml

Lines changed: 0 additions & 42 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ MANIFEST
3131
# Usually these files are written by a python script from a template
3232
# before PyInstaller builds the exe, so as to inject date/other infos into it.
3333
*.manifest
34-
#*.spec
34+
*.spec
3535

3636
# Installer logs
3737
pip-log.txt

README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
[![pre-commit](https://github.com/bears-space/bears-flight-simulation/actions/workflows/pre-commit.yaml/badge.svg)](https://github.com/bears-space/bears-flight-simulation/actions/workflows/pre-commit.yaml)
44
[![pytest](https://github.com/bears-space/bears-flight-simulation/actions/workflows/pytest.yaml/badge.svg)](https://github.com/bears-space/bears-flight-simulation/actions/workflows/pytest.yaml)
55
[![Ruff](https://github.com/bears-space/bears-flight-simulation/actions/workflows/ruff.yaml/badge.svg)](https://github.com/bears-space/bears-flight-simulation/actions/workflows/ruff.yaml)
6-
[![Windows EXE](https://github.com/bears-space/bears-flight-simulation/actions/workflows/windows-exe.yaml/badge.svg)](https://github.com/bears-space/bears-flight-simulation/actions/workflows/windows-exe.yaml)
76

87
This is the [RocketPy](https://github.com/RocketPy-Team/RocketPy/)-based flight simulation for BEARS rockets, built by [BEARS (Berlin Experimental Astronautics Research Student Team e.V.)](https://www.bears-space.de/).
98

@@ -85,16 +84,6 @@ To run the provided unit tests, run this command from within the project root:
8584
uv run python -m pytest
8685
```
8786

88-
### Windows GUI executable (.exe)
89-
90-
This repository contains an automated GitHub Actions workflow that builds a standalone Windows `.exe` for the GUI.
91-
92-
- Workflow: `.github/workflows/windows-exe.yaml`
93-
- Output artifact: `bears-flight-simulation-windows-exe`
94-
- Executable filename: `bears-flight-simulation.exe`
95-
96-
The build uses PyInstaller in one-file mode and bundles Python plus all required dependencies into a single portable executable.
97-
9887
### Configuration
9988

10089
A file for the motor has to be provided in `.eng` format. On at least one website offering compatible files, this format has been referred to as "RASP" format. It is documented here: <https://www.thrustcurve.org/info/raspformat.html>

bears-flight-simulation.spec

Lines changed: 0 additions & 72 deletions
This file was deleted.

bears_flight_simulation/common/common_paths.py

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import os
2-
import sys
32
from pathlib import Path
43

54
import platformdirs
@@ -12,21 +11,10 @@
1211
USER_PARACHUTE_LIBRARY_FOLDER = USER_LIBRARY_CONFIG_BASE_FOLDER / "parachutes"
1312

1413
OUTPUT_FOLDER = Path.cwd() / "output"
14+
TEMPLATE_FOLDER = Path(__file__).parent.parent.parent / "template"
1515

16-
17-
def _get_project_base_path() -> Path:
18-
# PyInstaller one-file mode extracts bundled files to a temporary directory.
19-
if getattr(sys, "frozen", False) and hasattr(sys, "_MEIPASS"):
20-
return Path(sys._MEIPASS)
21-
22-
return Path(__file__).resolve().parents[2]
23-
24-
25-
PROJECT_BASE_PATH = _get_project_base_path()
26-
TEMPLATE_FOLDER = PROJECT_BASE_PATH / "template"
27-
28-
LOGO_PATH = PROJECT_BASE_PATH / "img" / "BEARS_writing_with_motto.svg"
29-
ICON_PATH = PROJECT_BASE_PATH / "img" / "BEARS_Logo_white_circle.png"
16+
LOGO_PATH = Path(__file__).parent.parent.parent / "img" / "BEARS_writing_with_motto.svg"
17+
ICON_PATH = Path(__file__).parent.parent.parent / "img" / "BEARS_Logo_white_circle.png"
3018

3119

3220
def _get_config_folders(base_folder: Path) -> set[Path]:

scripts/pyinstaller_qt_runtime_hook.py

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)