Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Specify bdist temp folder for WSL compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasdiez committed Dec 4, 2020
1 parent 020bd59 commit a8e0364
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/pkgs/gambit/spkg-install.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ cd src/python
rm gambit/lib/libgambit.cpp

# pip doesn't work (https://github.com/gambitproject/gambit/issues/207)
sage-python23 setup.py --no-user-cfg bdist_wheel
sage-python23 setup.py --no-user-cfg bdist_wheel --bdist-dir ~/temp/bdistwheel
if [ $? -ne 0 ]; then
echo "Error installing Python API"
exit 1
Expand Down
1 change: 1 addition & 0 deletions build/pkgs/numpy/spkg-install.in
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export NUMPY_FCONFIG="config_fc --noopt --noarch"
sage-python23 setup.py \
--no-user-cfg \
bdist_wheel \
--bdist-dir ~/temp/bdistwheel \
${NUMPY_FCONFIG} || sdh_die "Error building wheel for numpy"

sdh_store_and_pip_install_wheel .
1 change: 1 addition & 0 deletions build/pkgs/pillow/spkg-install.in
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ fi
sage-python23 setup.py \
--no-user-cfg \
bdist_wheel \
--bdist-dir ~/temp/bdistwheel \
build_ext \
--debug \
--disable-jpeg \
Expand Down
1 change: 1 addition & 0 deletions build/pkgs/python_igraph/spkg-install.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
cd src

sage-python23 setup.py bdist_wheel \
--bdist-dir ~/temp/bdistwheel \
--use-pkg-config || sdh_die "Error building wheel for python_igraph"

sdh_store_and_pip_install_wheel .

0 comments on commit a8e0364

Please sign in to comment.