Skip to content

Commit 6e3fc9c

Browse files
committed
maint: remove OSX-specific parts of build_wheel.sh
1 parent 655b162 commit 6e3fc9c

1 file changed

Lines changed: 2 additions & 28 deletions

File tree

bin/build_wheel.sh

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -5,37 +5,11 @@
55

66
set -o errexit
77

8-
PYTHONFLINTVER=0.3.0
9-
108
source bin/build_variables.sh
119

1210
python3 -m venv $PREFIX/venv
1311
source $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

1815
C_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 ------------------------------------------

0 commit comments

Comments
 (0)