mirror of https://github.com/n1nj4sec/pupy.git
Fix python precompilation
This commit is contained in:
parent
5736081250
commit
e4bbfd5630
|
@ -276,7 +276,7 @@ CFLAGS="-O2 -pipe -DCLOCK_MONOTONIC=1 -UHAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC -U
|
|||
|
||||
cd /usr/lib/python2.7
|
||||
python -O -m compileall -q
|
||||
python -OO -m compileall -q
|
||||
python -m compileall -q
|
||||
|
||||
find -name "*.so" | while read f; do strip \$f; done
|
||||
|
||||
|
@ -498,7 +498,7 @@ python -O -m pip install pyuv --no-binary :all:
|
|||
|
||||
cd /usr/lib/python2.7
|
||||
python -O -m compileall -q
|
||||
python -OO -m compileall -q
|
||||
python -m compileall -q
|
||||
|
||||
find -name "*.so" | while read f; do strip \$f; done
|
||||
|
||||
|
|
|
@ -157,6 +157,7 @@ for prefix in $WINE32 $WINE64; do
|
|||
WINEPREFIX=$prefix wine C:\\Python27\\python -O -m pip install --upgrade $PACKAGES
|
||||
WINEPREFIX=$prefix wine C:\\Python27\\python -O -m pip install --upgrade --no-binary :all: psutil
|
||||
WINEPREFIX=$prefix wine C:\\Python27\\python -O -m compileall -q C:\\Python27\\Lib || true
|
||||
WINEPREFIX=$prefix wine C:\\Python27\\python -m compileall -q C:\\Python27\\Lib || true
|
||||
done
|
||||
|
||||
# WINEPREFIX=$WINE32 wine C:\\Python27\\python.exe -m easy_install -Z $PYWIN32
|
||||
|
|
|
@ -48,8 +48,8 @@ cd /opt/pupy
|
|||
|
||||
find -type f -exec md5sum {} ';' >/projects/integrity.txt
|
||||
|
||||
python -O -m compileall -qf 1>/dev/null 2>/dev/null
|
||||
python -OO -m compileall -qf 1>/dev/null 2>/dev/null
|
||||
python -m compileall . -qf 1>/dev/null 2>/dev/null
|
||||
python -O -m compileall . -qf 1>/dev/null 2>/dev/null
|
||||
|
||||
echo 'Copy your authorized_keys here!' >/projects/keys/README
|
||||
|
||||
|
|
Loading…
Reference in New Issue