File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ curl -OL https://github.com/indygreg/python-build-standalone/releases/download/$
66mkdir -p $PYTHON_ARCH /build
77tar zxvf $DIST_FILE -C $PYTHON_ARCH /build
88
9+ # compile lib
10+ python -m compileall -b $PYTHON_ARCH /build/python/lib/python3.12
11+
912# copy build to dist
1013mkdir -p $PYTHON_ARCH /dist
1114rsync -av --exclude-from=python-linux-dart.exclude $PYTHON_ARCH /build/python/* $PYTHON_ARCH /dist
1215
13- # compile lib
14- python -m compileall -b $PYTHON_ARCH /dist/lib/python3.12
15-
1616# archive
1717tar -czf python-linux-dart-$PYTHON_VERSION_SHORT -$PYTHON_ARCH .tar.gz -C $PYTHON_ARCH /dist .
Original file line number Diff line number Diff line change 11# Files to exclude for Linux distro
22#
3+ *.py
34lib/python*/lib-dynload/_test*.so
45lib/python*/lib-dynload/_ctypes_test*.so
56lib/python*/lib-dynload/xxlimited*.so
You can’t perform that action at this time.
0 commit comments