Skip to content

Commit 7c3488f

Browse files
committed
when doing the distribution, ensure all the files are compiled into pyc/pyo, otherwise, they might be deleted after the stripping process
1 parent 0c084ad commit 7c3488f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

distribute.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,7 @@ function run_distribute() {
486486
try cp -a $SRC_PATH/blacklist.txt .
487487

488488
debug "Copy python distribution"
489+
$BUILD_PATH/python-install/bin/python.host -OO -m compileall $BUILD_PATH/python-install
489490
try cp -a $BUILD_PATH/python-install .
490491

491492
debug "Copy libs"

0 commit comments

Comments
 (0)