Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sage
Path: blob/develop/constraints_pkgs.txt
4013 views
1
# This "constraints file" can be used for forcing pip
2
# (and any tools that delegate to pip, such as pypa/build)
3
# to install the distribution packages included in
4
# the SageMath monorepository only from their source trees
5
# in SAGE_ROOT/pkgs/ instead of from PyPI.
6
#
7
# Example: Building a sagemath-standard wheel
8
#
9
# [alice@localhost sage]$ ./bootstrap
10
# [alice@localhost sage]$ ./configure
11
# [alice@localhost sage]$ export MAKE="make -j16" SAGE_NUM_THREADS=16
12
# [alice@localhost sage]$ make all-sage-local
13
# [alice@localhost sage]$ export PIP_CONSTRAINT="$(pwd)/constraints_pkgs.txt"
14
# [alice@localhost sage]$ ./sage -sh -c 'python3 -m build -v -v pkgs/sagemath-standard'
15
#
16
# Non-example: Installing the built wheel using the same
17
# constraints file will fail because sagemath-standard is one
18
# of the distribution packages listed below. It will conflict
19
# with the built wheel for sagemath-standard!
20
# Use "pkgs/sagemath-standard/constraints_pkgs.txt" instead.
21
22
# Reference on the format:
23
# https://pip.pypa.io/en/stable/user_guide/#constraints-files
24
#
25
sage_conf @ file://${SAGE_ROOT}/pkgs/sage-conf
26
sage_docbuild @ file://${SAGE_ROOT}/pkgs/sage-docbuild
27
sage_setup @ file://${SAGE_ROOT}/pkgs/sage-setup
28
sagemath-bliss @ file://${SAGE_ROOT}/pkgs/sagemath-bliss
29
sagemath-categories @ file://${SAGE_ROOT}/pkgs/sagemath-categories
30
sagemath-coxeter3 @ file://${SAGE_ROOT}/pkgs/sagemath-coxeter3
31
sagemath-environment @ file://${SAGE_ROOT}/pkgs/sagemath-environment
32
sagemath-mcqd @ file://${SAGE_ROOT}/pkgs/sagemath-mcqd
33
sagemath-meataxe @ file://${SAGE_ROOT}/pkgs/sagemath-meataxe
34
sagemath-objects @ file://${SAGE_ROOT}/pkgs/sagemath-objects
35
sagemath-repl @ file://${SAGE_ROOT}/pkgs/sagemath-repl
36
sagemath-sirocco @ file://${SAGE_ROOT}/pkgs/sagemath-sirocco
37
sagemath-standard @ file://${SAGE_ROOT}/pkgs/sagemath-standard
38
sagemath-tdlib @ file://${SAGE_ROOT}/pkgs/sagemath-tdlib
39
40