Skip to content

Commit e48f4ef

Browse files
committed
use installer git for 3.13
1 parent 2d548e2 commit e48f4ef

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed
-443 KB
Binary file not shown.

scripts/cpython-build-emsdk-prebuilt.sh

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ CYTHON_REL=${CYTHON_REL:-3.0.8}
66
CYTHON_WHL=${CYTHON:-Cython-${CYTHON_REL}-py2.py3-none-any.whl}
77

88
# all needed for PEP722/723
9-
PACKAGING="pip build wheel pyparsing packaging PATCHES/installer-1.0.0.dev0-py3-none-any.whl"
9+
PACKAGING="pip build wheel pyparsing packaging"
10+
# PATCHES/installer-1.0.0.dev0-py3-none-any.whl" BUG 3.13
1011

1112
$HPIP install --upgrade $PACKAGING
1213

@@ -55,7 +56,10 @@ $PIP install build/$CYTHON_WHL
5556

5657
# some we want to be certain to have in all minimal rootfs
5758
mkdir -p prebuilt/emsdk/common/site-packages/
58-
for pkg in pyparsing packaging installer pkg_resources
59+
60+
# BUG 3.13 : installer
61+
62+
for pkg in pyparsing packaging pkg_resources
5963
do
6064
if [ -d prebuilt/emsdk/${PYBUILD}/site-packages/$pkg ]
6165
then
@@ -77,19 +81,19 @@ do
7781
done
7882

7983

80-
pushd src
81-
82-
83-
# TODO
84-
85-
86-
87-
88-
89-
9084

9185

86+
pushd src
9287

88+
# TODO
89+
if [ -d installer ]
90+
then
91+
echo " * re-using installer git copy"
92+
else
93+
echo " * getting installer git copy"
94+
git clone --no-tags --depth 1 --single-branch --branch main https://github.com/pypa/installer/
95+
fi
96+
cp -rf installer/src/installer ../prebuilt/emsdk/common/site-packages/
9397

9498

9599

0 commit comments

Comments
 (0)