Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

155.8. sympy-1.14.0

Symbolic mathematics for Python

1.14.0-1 · BSD-3-Clause · 0.9 SBU · 39.7 MiB, 1747 files · 41_system, 743 of 1047 · ports/core/math/sympy

Homepage: https://www.sympy.org/

Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/math.txt:

Symbolic algebra, and the answer to the SageMath hole — Sage is gone from trixie and this is what is left that runs on a terminal.

Depends on: python3, python3-setuptools, python3-pip, python3-mpmath, python3-gmpy2.

Required by: no port names it.

Sources: sympy-1.14.0.tar.gz (7.4 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install sympy'

build.sh:

pip3 install --ignore-installed --no-deps --no-index --no-build-isolation --root=$PKG --prefix=/usr .
install -Dm644 doc/man/isympy.1 -t "$PKG/usr/share/man/man1"
find "$PKG"/usr/lib/python3*/site-packages/sympy -type d -name tests -prune -exec rm -rf {} +

Programs: isympy.

Directories: /usr/lib/python3.14/site-packages/sympy, /usr/lib/python3.14/site-packages/sympy-1.14.0.dist-info, /usr/share/licenses/sympy.