Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Makefile, build/pkgs/sagelib/spkg-install: Add remaining optional pac…
Browse files Browse the repository at this point in the history
…kages with extensions
  • Loading branch information
Matthias Koeppe committed Nov 16, 2022
1 parent d3fbc9e commit 31552b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ pypi-wheels:
@echo "Built wheels are in venv/var/lib/sage/wheels/"

# sage_docbuild is here, not in PYPI_WHEEL_PACKAGES, because it depends on sagelib
WHEEL_PACKAGES = $(PYPI_WHEEL_PACKAGES) sage_conf sagelib sage_docbuild sagemath_bliss
WHEEL_PACKAGES = $(PYPI_WHEEL_PACKAGES) sage_conf sagelib sage_docbuild \
sagemath_bliss sagemath_mcqd sagemath_tdlib sagemath_coxeter3 \
sagemath_sirocco sagemath_meataxe
wheels:
for a in $(WHEEL_PACKAGES); do \
rm -f venv/var/lib/sage/installed/$$a-*; \
Expand Down
4 changes: 2 additions & 2 deletions build/pkgs/sagelib/spkg-install
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ unset SAGE_PKG_CONFIG_PATH

SITEPACKAGESDIR=$(python3 -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')

export SAGE_OPTIONAL_PACKAGES_WITH_EXTENSIONS="mcqd,tdlib,coxeter3,fes,sirocco,meataxe"
export SAGE_OPTIONAL_PACKAGES_WITH_EXTENSIONS=""

if [ "$SAGE_EDITABLE" = yes ]; then
# In an incremental build, we may need to uninstall old versions installed by distutils
Expand All @@ -81,7 +81,7 @@ else
# Compiling sage/interfaces/sagespawn.pyx because it depends on /private/var/folders/38/wnh4gf1552g_crsjnv2vmmww0000gp/T/pip-build-env-609n5985/overlay/lib/python3.10/site-packages/Cython/Includes/posix/unistd.pxd
time sdh_pip_install --no-build-isolation .
else
SAGE_OPTIONAL_PACKAGES_WITH_EXTENSIONS+=",bliss"
SAGE_OPTIONAL_PACKAGES_WITH_EXTENSIONS+="mcqd,tdlib,coxeter3,fes,sirocco,meataxe,bliss"
time python3 -u setup.py --no-user-cfg build install || exit 1
fi
fi
Expand Down

0 comments on commit 31552b5

Please sign in to comment.