flatsurf / sage-flatsurf

Flat surfaces in Sage
https://flatsurf.github.io/sage-flatsurf/
GNU General Public License v2.0
10 stars 10 forks source link

Provide installer for flatsurf #298

Open saraedum opened 1 week ago

saraedum commented 1 week ago

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…)

saraedum commented 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.)

saraedum commented 1 week ago

Here's a first draft of a standalone version that should work on Linux and macOS sage-flatsurf-0.5.2.tar.gz

saraedum commented 1 week ago

Some notes on Windows: