Open saraedum opened 1 week ago
~And somebody has already built pixi-pack for that purpose :)~ (It does some of the conda-pack stuff, but we still need pixi-pack available for this to work.)
Here's a first draft of a standalone version that should work on Linux and macOS sage-flatsurf-0.5.2.tar.gz
Some notes on Windows:
On Linux and macOS we can probably improve a bit upon #248 by shipping an empty pixi environment with some entry scripts such as
./sage
,./jupyterlab
, and./shell
. This is better than the approach with conda-pack because it's even relocatable (with a warning.)On Windows, we'd need a proper installer. The best I can think of at the moment is to do enable WSL, i.e.,
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all
(which possibly reboots,) then install the pixi setup for Linux with wsldl and provide the same entrypoints through an adapted version of wsl2exe_ap (there's probably a newer version of this somewhere…)