mirror of https://github.com/n1nj4sec/pupy.git
Make windows build happy again
This commit is contained in:
parent
2f000ce55d
commit
f19e10aaa0
|
@ -250,8 +250,8 @@ int pthread_condattr_setclock(pthread_condattr_t *attr, clockid_t clock_id) {
|
|||
#endif
|
||||
__EOF__
|
||||
|
||||
python -OO -m pip install six packaging appdirs
|
||||
python -OO -m pip install \
|
||||
python -OO -m pip install -q six packaging appdirs
|
||||
python -OO -m pip install -q \
|
||||
rpyc pycrypto pyaml rsa netaddr tinyec pyyaml ecdsa \
|
||||
paramiko pylzma pydbus python-ptrace psutil scandir \
|
||||
scapy impacket colorama pyOpenSSL \
|
||||
|
@ -275,7 +275,7 @@ cd /usr/src/automake-1.15
|
|||
./configure --prefix=/usr; make; make install
|
||||
|
||||
CFLAGS="-O2 -pipe -DCLOCK_MONOTONIC=1 -UHAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC -U_FILE_OFFSET_BITS" \
|
||||
python -OO -m pip install pyuv --no-binary :all:
|
||||
python -OO -m pip install -q pyuv --no-binary :all:
|
||||
|
||||
cd /usr/lib/python2.7
|
||||
find -name "*.py" | python -m compileall -qfi -
|
||||
|
@ -475,8 +475,8 @@ 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 six packaging appdirs
|
||||
python -OO -m pip install \
|
||||
python -OO -m pip install -q six packaging appdirs
|
||||
python -OO -m pip install -q \
|
||||
rpyc pycrypto pyaml rsa netaddr tinyec pyyaml ecdsa \
|
||||
paramiko pylzma pydbus python-ptrace psutil scandir \
|
||||
scapy impacket colorama pyOpenSSL \
|
||||
|
@ -499,7 +499,7 @@ tar zxf automake-1.15.tar.gz
|
|||
cd /usr/src/automake-1.15
|
||||
./configure --prefix=/usr; make; make install
|
||||
|
||||
python -OO -m pip install pyuv --no-binary :all:
|
||||
python -OO -m pip install -q pyuv --no-binary :all:
|
||||
|
||||
cd /usr/lib/python2.7
|
||||
find -name "*.py" | python -m compileall -qfi -
|
||||
|
|
|
@ -88,6 +88,12 @@ done
|
|||
|
||||
export WINEPREFIX=$WINE64
|
||||
|
||||
mkdir -p $WINE64/drive_c/windows/Microsoft.NET/Framework
|
||||
mkdir -p $WINE64/drive_c/windows/Microsoft.NET/Framework64
|
||||
|
||||
touch $WINE64/drive_c/windows/Microsoft.NET/Framework/empty.txt
|
||||
touch $WINE64/drive_c/windows/Microsoft.NET/Framework64/empty.txt
|
||||
|
||||
wine reg delete 'HKLM\Software\Microsoft\Windows\CurrentVersion' /v SubVersionNumber /f || true
|
||||
wine reg delete 'HKLM\Software\Microsoft\Windows\CurrentVersion' /v VersionNumber /f || true
|
||||
wine reg delete 'HKLM\Software\Microsoft\Windows NT\CurrentVersion' /v CSDVersion /f || true
|
||||
|
@ -152,10 +158,10 @@ sed -i $WINEPREFIX/system.reg -e 's@"ProductName"="Microsoft Windows XP"@"Produc
|
|||
unset WINEPREFIX
|
||||
|
||||
for prefix in $WINE32 $WINE64; do
|
||||
WINEPREFIX=$prefix wine C:\\Python27\\python -OO -m pip install --upgrade pip
|
||||
WINEPREFIX=$prefix wine C:\\Python27\\python -OO -m pip install --upgrade setuptools
|
||||
WINEPREFIX=$prefix wine C:\\Python27\\python -OO -m pip install --upgrade $PACKAGES
|
||||
WINEPREFIX=$prefix wine C:\\Python27\\python -OO -m pip install --upgrade --no-binary :all: psutil
|
||||
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: psutil
|
||||
WINEPREFIX=$prefix wine C:\\Python27\\python -m compileall -q C:\\Python27\\Lib || true
|
||||
WINEPREFIX=$prefix wine C:\\Python27\\python -OO -m compileall -q C:\\Python27\\Lib || true
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue