Skip to content

Lucy.py single entry - #51

Closed
Arcod7 wants to merge 4 commits into
feat-pixifrom
aes/lucy-py-single-entry
Closed

Lucy.py single entry#51
Arcod7 wants to merge 4 commits into
feat-pixifrom
aes/lucy-py-single-entry

Conversation

@Arcod7

@Arcod7 Arcod7 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

OP#196

Lucy.py imported curses at module level, so on Windows it died before doing
anything. There is also no tmux there to drive the TUI. Import curses lazily,
and on Windows run install.py when the workspace is not built, then print the
pixi tasks to start by hand.

install.py runs with the terminal attached so its pixi and MSVC prompts are
answerable. is_installed() also checks install/setup.bat, which is what colcon
writes on Windows.
…-exports

releases.json and releases.nsh are written by generate_releases.py, which both
build paths run first, so tracking them only commits an artifact that drifts.
Gitignore them instead.

build_installer.ps1 is referenced by nothing in CI and duplicates the steps CI
already runs, in PowerShell. The Windows README now lists those steps directly,
so there is no wrapper to fall out of sync.

install_ops re-exported 25 names from install.py; install_runner.py, Lucy.py
and CI together reach for 8. Keep those.
@Arcod7 Arcod7 self-assigned this Sep 2, 2026
@Arcod7 Arcod7 changed the title Aes/lucy py single entry Lucy.py single entry Sep 2, 2026
With no arguments Lucy.exe handed off to launch_lucy.sh, which on Windows ends
at the curses TUI — no curses, no tmux — so the Start Menu and Desktop
shortcuts the installer creates have never worked. They point at Lucy.exe with
no arguments, and the .exe is the main Windows install path.

It now installs when the workspace is missing and otherwise names the pixi
tasks, matching what python3 Lucy.py does. The --cli mode Lucy-Setup.exe drives
is untouched. Dropping the launcher half also retires run_command,
_find_git_bash and the subprocess import.

Also corrects a comment claiming windows/Lucy.py reads install_ops directly; it
reaches it through install_runner.
Lucy.exe is built elsewhere now, so windows/ has no consumer here: Lucy.py,
install_runner.py, install_ops.py, generate_releases.py, installer/Lucy.nsi and
the icon all existed only to produce Lucy.exe and Lucy-Setup.exe.

windows-build-test and build-and-release-windows-exe go with them — every step
they ran pointed inside windows/, so they had nothing left to build.
pixi-install-build-test is untouched and still covers all six platforms
including windows-latest.

One fact lived only in windows/README.md and is now in the root README and the
developer guide: pixi resolves win-64 on Windows-on-ARM too, because pixi.lock
has no win-arm64.
@Arcod7

Arcod7 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #53 (branch renamed to aes/windows-entrypoint-cleanup).

@Arcod7 Arcod7 closed this Sep 2, 2026
@Arcod7
Arcod7 deleted the aes/lucy-py-single-entry branch September 2, 2026 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant