mirror of https://github.com/n1nj4sec/pupy.git
PyCParser is broken in upstream
This commit is contained in:
parent
68112acc73
commit
1bf8ffe314
|
@ -251,12 +251,13 @@ int pthread_condattr_setclock(pthread_condattr_t *attr, clockid_t clock_id) {
|
|||
#endif
|
||||
__EOF__
|
||||
|
||||
python -OO -m pip install pycparser==2.17
|
||||
python -OO -m pip install -q six packaging appdirs
|
||||
python -OO -m pip install -q \
|
||||
rpyc pycryptodome pyaml rsa netaddr tinyec pyyaml ecdsa \
|
||||
paramiko pylzma pydbus python-ptrace psutil scandir \
|
||||
scapy impacket colorama pyOpenSSL \
|
||||
--upgrade --no-binary :all:
|
||||
--no-binary :all:
|
||||
|
||||
/bin/sh -c "apt-get --force-yes -y remove m4 << /dev/null"
|
||||
|
||||
|
@ -282,6 +283,7 @@ cd /usr/lib/python2.7
|
|||
find -name "*.py" | python -m compileall -qfi -
|
||||
find -name "*.py" | python -OO -m compileall -qfi -
|
||||
|
||||
set +x
|
||||
find -name "*.so" | while read f; do strip \$f; done
|
||||
|
||||
cd /
|
||||
|
@ -479,12 +481,13 @@ rm -f ./gi/.libs/_gi.la ./gi/_gobject/.libs/_gobject.la ./gi/_glib/.libs/_glib.l
|
|||
make -k
|
||||
make install
|
||||
|
||||
python -OO -m pip install pycparser==2.17
|
||||
python -OO -m pip install -q six packaging appdirs
|
||||
python -OO -m pip install -q \
|
||||
rpyc pycryptodome pyaml rsa netaddr tinyec pyyaml ecdsa \
|
||||
paramiko pylzma pydbus python-ptrace psutil scandir \
|
||||
scapy impacket colorama pyOpenSSL \
|
||||
--upgrade --no-binary :all:
|
||||
--no-binary :all:
|
||||
|
||||
/bin/sh -c "apt-get --force-yes -y remove m4 << /dev/null"
|
||||
|
||||
|
@ -509,6 +512,7 @@ cd /usr/lib/python2.7
|
|||
find -name "*.py" | python -m compileall -qfi -
|
||||
find -name "*.py" | python -OO -m compileall -qfi -
|
||||
|
||||
set +x
|
||||
find -name "*.so" | while read f; do strip \$f; done
|
||||
|
||||
cd /
|
||||
|
|
|
@ -152,12 +152,13 @@ unset WINEPREFIX
|
|||
for prefix in $WINE32 $WINE64; do
|
||||
WINEPREFIX=$prefix wine C:\\Python27\\python -OO -m pip install -q --upgrade pip
|
||||
WINEPREFIX=$prefix wine C:\\Python27\\python -OO -m pip install -q --upgrade setuptools
|
||||
WINEPREFIX=$prefix wine C:\\Python27\\python -OO -m pip install -q --upgrade $PACKAGES
|
||||
WINEPREFIX=$prefix wine C:\\Python27\\python -OO -m pip install -q --upgrade --no-binary :all: $PACKAGES_BUILD
|
||||
WINEPREFIX=$prefix wine C:\\Python27\\python -OO -m pip install -q pycparser==2.17
|
||||
WINEPREFIX=$prefix wine C:\\Python27\\python -OO -m pip install -q $PACKAGES
|
||||
WINEPREFIX=$prefix wine C:\\Python27\\python -OO -m pip install -q --no-binary :all: $PACKAGES_BUILD
|
||||
done
|
||||
|
||||
WINEPREFIX=$WINE32 wine C:\\Python27\\python -OO -m pip install -q --upgrade --no-binary :all: psutil==4.3.1
|
||||
WINEPREFIX=$WINE64 wine C:\\Python27\\python -OO -m pip install -q --upgrade --no-binary :all: psutil
|
||||
WINEPREFIX=$WINE32 wine C:\\Python27\\python -OO -m pip install -q --no-binary :all: psutil==4.3.1
|
||||
WINEPREFIX=$WINE64 wine C:\\Python27\\python -OO -m pip install -q --no-binary :all: psutil
|
||||
|
||||
for prefix in $WINE32 $WINE64; do
|
||||
WINEPREFIX=$prefix wine C:\\Python27\\python -m compileall -q C:\\Python27\\Lib || true
|
||||
|
|
Loading…
Reference in New Issue