Path: blob/develop/pkgs/sagemath-standard/constraints_pkgs.txt
4081 views
# This "constraints file" can be used for forcing pip1# (and any tools that delegate to pip, such as pypa/build)2# to install the dependencies of sagemath-standard that are3# distribution packages included in the SageMath monorepository4# only from their source trees in SAGE_ROOT/pkgs/5# instead of from PyPI.6#7# Example:8#9# [alice@localhost sage]$ ./bootstrap10# [alice@localhost sage]$ ./configure11# [alice@localhost sage]$ export MAKE="make -j16" SAGE_NUM_THREADS=1612# [alice@localhost sage]$ make all-sage-local13# [alice@localhost sage]$ export PIP_CONSTRAINT="$(pwd)/pkgs/sagemath-standard/constraints_pkgs.txt"14# [alice@localhost sage]$ ./sage -sh -c 'python3 -m build -v -v pkgs/sagemath-standard'15#16# Reference on the format:17# https://pip.pypa.io/en/stable/user_guide/#constraints-files18#19sage_conf @ file://${SAGE_ROOT}/pkgs/sage-conf20sage_setup @ file://${SAGE_ROOT}/pkgs/sage-setup212223