On 18 July 2024 20:05:39 BST, Louis Deaett <
louis....@gmail.com> wrote:
>If I may, I'd like to ask you to expand on this comment:
>
>> It's time to retire "sage -i".
>
>Why do you say that? And what specifically would be the replacement?
./configure + make
Specifically, to make sure package foo is installed,
./configure --enable-foo && make build
Or
make foo && make build
These have been around for years, and "sage -f foo"
is a wrapper around these.
If on the other hand you want to install a PyPI package foo (no matter whether it is a Sage package or not) into Sage venv, you can do
./sage --pip install foo
(this is not too safe, as this may update already installed Sage packages, so use with a caution)
Nowadays there is also a mostly undocumented sagemath_environment thing - some packages need to be installed with it, but don't ask me how or why.
HTH
Dima