Skip to content

Commit cf5dbc2

Browse files
committed
[CI] use python3 instead of python in scripts
1 parent 83369cc commit cf5dbc2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

scripts/ci/build-linux-native.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ for cfg in Debug Release; do
3434
done
3535

3636
# Build Python packages
37-
python -m build -w "$pkg_dir" -o "$out_dir" \
37+
python3 -m build -w "$pkg_dir" -o "$out_dir" \
3838
-C local="$PWD/scripts/ci/py-build-cmake.toml" \
3939
-C local="$pbc_config"
40-
python -m build -w "$pkg_dir/python/alpaqa-debug" -o "$out_dir" \
40+
python3 -m build -w "$pkg_dir/python/alpaqa-debug" -o "$out_dir" \
4141
-C local="$PWD/scripts/ci/py-build-cmake.toml" \
4242
-C component="$PWD/scripts/ci/py-build-cmake.component.toml" \
4343
-C local="$pbc_config"

scripts/ci/build-linux.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ for cfg in Debug Release; do
6060
done
6161

6262
# Build Python packages
63-
python -m build -w "$pkg_dir" -o "$out_dir" \
63+
python3 -m build -w "$pkg_dir" -o "$out_dir" \
6464
-C local="$PWD/scripts/ci/py-build-cmake.toml" \
6565
-C cross="$pbc_config"
66-
python -m build -w "$pkg_dir/python/alpaqa-debug" -o "$out_dir" \
66+
python3 -m build -w "$pkg_dir/python/alpaqa-debug" -o "$out_dir" \
6767
-C local="$PWD/scripts/ci/py-build-cmake.toml" \
6868
-C component="$PWD/scripts/ci/py-build-cmake.component.toml" \
6969
-C cross="$pbc_config"

0 commit comments

Comments
 (0)