Skip to content

Commit 18a8ec6

Browse files
Anil-matchaclaude
andcommitted
fix: use non-editable install and clean cli_entry.py for PyInstaller
- pip install . (not -e .) so PyInstaller collects all package files - cli_entry.py: remove sys.path manipulation that breaks frozen imports Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 8de3c7e commit 18a8ec6

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Install CLI + PyInstaller
3939
run: |
4040
pip install --upgrade pip
41-
pip install -e .
41+
pip install .
4242
pip install pyinstaller
4343
4444
- name: Build binary (Unix)

cli_entry.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
11
"""PyInstaller entry point — no relative imports."""
2-
import sys
3-
import os
4-
5-
# Make the cli/ directory importable as a package root
6-
sys.path.insert(0, os.path.dirname(__file__))
7-
82
from muapi.main import app
93

104
if __name__ == "__main__":

0 commit comments

Comments
 (0)