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