File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66set -o errexit
77
8- PYTHONFLINTVER=0.3.0
9-
108source bin/build_variables.sh
119
1210python3 -m venv $PREFIX /venv
1311source $PREFIX /venv/bin/activate
14- pip install -U pip wheel delocate
15- pip install numpy cython
16- # Working as of cython==0.29.28
12+ pip install -U pip
13+ pip install numpy cython wheel
1714
1815C_INCLUDE_PATH=.local/include/ LIBRARY_PATH=.local/lib/ pip wheel .
19-
20- wheelfinal=* .whl
21-
22- # On OSX bundle the dynamic libraries for the dependencies
23- mkdir -p wheelhouse
24- delocate-wheel -w wheelhouse $wheelfinal
25-
26- echo ------------------------------------------
27- echo
28- echo Built wheel: wheelhouse/$wheelfinal
29- echo
30- echo Link dependencies:
31- delocate-listdeps wheelhouse/$wheelfinal
32- echo
33- pip install wheelhouse/$wheelfinal
34- echo
35- echo Demonstration:
36- echo
37- python -c ' import flint; print("(3/2)**2 =", flint.fmpq(3, 2)**2)'
38- echo
39- echo Done!
40- echo
41- echo ------------------------------------------
You can’t perform that action at this time.
0 commit comments