Skip to content

Commit 5aa7831

Browse files
committed
fix python-cffi module git url
1 parent 638e946 commit 5aa7831

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

scripts/cpython-build-emsdk-prebuilt.sh

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,17 @@ PIP="${SDKROOT}/python3-wasm -m pip"
1010
# all needed for PEP722/723, hpy, cffi modules and wheel building
1111

1212
# pip pip-24.0 broken
13-
for module in typing_extensions mypy_extensions meson-python pyproject-metadata \
13+
for module in typing_extensions mypy_extensions pyproject-metadata \
1414
setuptools build wheel pyparsing packaging \
15-
git+https://github.com/cffi/cffi git+https://github.com/pypa/installer
15+
git+https://github.com/python-cffi/cffi meson-python git+https://github.com/pypa/installer
1616
do
17-
if $HPIP install --force $module
17+
$PIP install --force $module
18+
if $HPIP install --upgrade --force "$module"
1819
then
19-
if $PIP install --upgrade --force "$module"
20-
then
21-
echo " pre-installing $module" 1>&2
22-
else
23-
echo " TARGET FAILED on required module $module" 1>&2
24-
exit 23
25-
fi
20+
echo " pre-installing $module" 1>&2
2621
else
27-
echo " HOST FAILED on required module $module" 1>&2
28-
exit 27
22+
echo " TARGET FAILED on required module $module" 1>&2
23+
exit 23
2924
fi
3025
done
3126

0 commit comments

Comments
 (0)