File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 7070 CFLAGS="-fno-semantic-interposition -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free" \
7171 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" && \
7272 make install && \
73+ find /pythoncompiled -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' \
74+ | tr ',' '\n ' \
75+ | sort -u \
76+ | awk 'system("[ -e /pythoncompiled/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
77+ | xargs -rt echo > /pythoncompiled/python-deps.txt && \
7378 find /pythoncompiled -depth \
7479 \( \
7580 -type d -a \( -name test -o -name tests \) \
8994 pip && \
9095 find /pythoncompiled -depth \
9196 \( \
92- -type d -a \( -name test -o -name tests \) \
97+ -type d -a \( -name test -o -name tests \) \
9398 \) -exec rm -rf '{}' + && \
9499 sed -i 's|pythoncompiled|usr/local|' /pythoncompiled/bin/pip /pythoncompiled/bin/pip* /pythoncompiled/bin/wheel && \
95100 echo "**** cleanup ****" && \
Original file line number Diff line number Diff line change 7070 CFLAGS="-fno-semantic-interposition -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free" \
7171 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" && \
7272 make install && \
73+ find /pythoncompiled -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' \
74+ | tr ',' '\n' \
75+ | sort -u \
76+ | awk 'system("[ -e /pythoncompiled/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
77+ | xargs -rt echo > /pythoncompiled/python-deps.txt && \
7378 find /pythoncompiled -depth \
7479 \( \
7580 -type d -a \( -name test -o -name tests \) \
8994 pip && \
9095 find /pythoncompiled -depth \
9196 \( \
92- -type d -a \( -name test -o -name tests \) \
97+ -type d -a \( -name test -o -name tests \) \
9398 \) -exec rm -rf '{}' + && \
9499 sed -i 's|pythoncompiled|usr/local|' /pythoncompiled/bin/pip /pythoncompiled/bin/pip* /pythoncompiled/bin/wheel && \
95100 echo "**** cleanup ****" && \
You can’t perform that action at this time.
0 commit comments