Mercurial > hg > RemoteViewer
comparison dist.sh @ 14:07d74b88ac8d
do not invoke make on the PyQtLib, byte-compiling is done in a single step from dist.sh. Make sure that python3 is used everywhere
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Mon, 22 Sep 2014 06:11:22 +0200 |
parents | d666b9fe5663 |
children |
comparison
equal
deleted
inserted
replaced
13:a999a074d2ee | 14:07d74b88ac8d |
---|---|
7 fi | 7 fi |
8 | 8 |
9 # make sure all resources are generated before byte-compiling | 9 # make sure all resources are generated before byte-compiling |
10 make | 10 make |
11 | 11 |
12 python -m compileall . | 12 python3 -m compileall . |
13 | 13 |
14 for file in `find . -name \*\.pyc -print`; do | 14 for file in `find . -name \*\.pyc -print`; do |
15 echo $file | 15 echo $file |
16 if [[ $file =~ (.*)__pycache__/(.*)\.cpython-..(.*) ]]; then | 16 if [[ $file =~ (.*)__pycache__/(.*)\.cpython-..(.*) ]]; then |
17 target="${BASH_REMATCH[1]}${BASH_REMATCH[2]}${BASH_REMATCH[3]}" | 17 target="${BASH_REMATCH[1]}${BASH_REMATCH[2]}${BASH_REMATCH[3]}" |