Spaces:
Paused
Paused
Mirrowel commited on
Commit ·
302d563
1
Parent(s): 0fd5b85
build(proxy_app): 📦 include setuptools/distutils in build and clarify launcher missing .env message
Browse files- Remove "--exclude-module=setuptools" and "--exclude-module=distutils" from PyInstaller args to allow those modules to be packaged.
- Update launcher TUI prompt to stop referencing `PROXY_API_KEY` and only require a `.env` file, simplifying and clarifying the startup message.
- src/proxy_app/build.py +0 -2
- src/proxy_app/launcher_tui.py +1 -1
src/proxy_app/build.py
CHANGED
|
@@ -52,8 +52,6 @@ def main():
|
|
| 52 |
"--exclude-module=jupyter",
|
| 53 |
"--exclude-module=notebook",
|
| 54 |
"--exclude-module=PIL.ImageTk",
|
| 55 |
-
"--exclude-module=setuptools",
|
| 56 |
-
"--exclude-module=distutils",
|
| 57 |
# Optimization: Enable UPX compression (if available)
|
| 58 |
"--upx-dir=upx" if platform.system() != "Darwin" else "--noupx", # macOS has issues with UPX
|
| 59 |
# Optimization: Strip debug symbols (smaller binary)
|
|
|
|
| 52 |
"--exclude-module=jupyter",
|
| 53 |
"--exclude-module=notebook",
|
| 54 |
"--exclude-module=PIL.ImageTk",
|
|
|
|
|
|
|
| 55 |
# Optimization: Enable UPX compression (if available)
|
| 56 |
"--upx-dir=upx" if platform.system() != "Darwin" else "--noupx", # macOS has issues with UPX
|
| 57 |
# Optimization: Strip debug symbols (smaller binary)
|
src/proxy_app/launcher_tui.py
CHANGED
|
@@ -574,7 +574,7 @@ class LauncherTUI:
|
|
| 574 |
self.console.print(Panel(
|
| 575 |
Text.from_markup(
|
| 576 |
"⚠️ [bold yellow]Setup Required[/bold yellow]\n\n"
|
| 577 |
-
"Cannot start without .env
|
| 578 |
"Launching credential tool..."
|
| 579 |
),
|
| 580 |
border_style="yellow"
|
|
|
|
| 574 |
self.console.print(Panel(
|
| 575 |
Text.from_markup(
|
| 576 |
"⚠️ [bold yellow]Setup Required[/bold yellow]\n\n"
|
| 577 |
+
"Cannot start without .env.\n"
|
| 578 |
"Launching credential tool..."
|
| 579 |
),
|
| 580 |
border_style="yellow"
|