Skip to content

Commit

Permalink
use installer git for 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
pmp-p committed Jan 17, 2024
1 parent 2d548e2 commit e48f4ef
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
Binary file removed PATCHES/installer-1.0.0.dev0-py3-none-any.whl
Binary file not shown.
28 changes: 16 additions & 12 deletions scripts/cpython-build-emsdk-prebuilt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ CYTHON_REL=${CYTHON_REL:-3.0.8}
CYTHON_WHL=${CYTHON:-Cython-${CYTHON_REL}-py2.py3-none-any.whl}

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

$HPIP install --upgrade $PACKAGING

Expand Down Expand Up @@ -55,7 +56,10 @@ $PIP install build/$CYTHON_WHL

# some we want to be certain to have in all minimal rootfs
mkdir -p prebuilt/emsdk/common/site-packages/
for pkg in pyparsing packaging installer pkg_resources

# BUG 3.13 : installer

for pkg in pyparsing packaging pkg_resources
do
if [ -d prebuilt/emsdk/${PYBUILD}/site-packages/$pkg ]
then
Expand All @@ -77,19 +81,19 @@ do
done


pushd src


# TODO








pushd src

# TODO
if [ -d installer ]
then
echo " * re-using installer git copy"
else
echo " * getting installer git copy"
git clone --no-tags --depth 1 --single-branch --branch main https://github.com/pypa/installer/
fi
cp -rf installer/src/installer ../prebuilt/emsdk/common/site-packages/



Expand Down

0 comments on commit e48f4ef

Please sign in to comment.