merge changes branch v0.6
This commit is contained in:
commit
827edfef91
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -17,7 +17,7 @@ dist
|
||||||
*.egg-info
|
*.egg-info
|
||||||
docs/_*/*
|
docs/_*/*
|
||||||
docs/autodoc/
|
docs/autodoc/
|
||||||
build/sphinx/
|
build
|
||||||
pyan/
|
pyan/
|
||||||
.buildozer/
|
.buildozer/
|
||||||
bin/
|
bin/
|
||||||
|
|
2
buildscripts/README.md
Normal file
2
buildscripts/README.md
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
This directory contains scripts that are helpful for developers when building
|
||||||
|
or maintaining PyBitmessage.
|
26
buildscripts/osx.sh
Executable file
26
buildscripts/osx.sh
Executable file
|
@ -0,0 +1,26 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# OS X Build script wrapper around the py2app script.
|
||||||
|
# This build can only be generated on OS X.
|
||||||
|
# Requires all build dependencies for Bitmessage
|
||||||
|
# Especially important is OpenSSL installed through brew
|
||||||
|
|
||||||
|
export ARCHFLAGS="-arch i386 -arch x86_64"
|
||||||
|
|
||||||
|
if [[ -z "$1" ]]; then
|
||||||
|
echo "Please supply a version number for this release as the first argument."
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Creating OS X packages for Bitmessage."
|
||||||
|
|
||||||
|
export PYBITMESSAGEVERSION=$1
|
||||||
|
|
||||||
|
cd src && python2.7 build_osx.py py2app
|
||||||
|
|
||||||
|
if [[ $? = "0" ]]; then
|
||||||
|
hdiutil create -fs HFS+ -volname "Bitmessage" -srcfolder dist/Bitmessage.app dist/bitmessage-v$1.dmg
|
||||||
|
else
|
||||||
|
echo "Problem creating Bitmessage.app, stopping."
|
||||||
|
exit
|
||||||
|
fi
|
22
buildscripts/updatetranslations.sh
Executable file
22
buildscripts/updatetranslations.sh
Executable file
|
@ -0,0 +1,22 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ ! -f "$1" ]; then
|
||||||
|
echo "$1 not found, please specify the file name for source"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
srcdir=`mktemp -d`
|
||||||
|
|
||||||
|
unzip "$1" -d $srcdir
|
||||||
|
|
||||||
|
for i in $srcdir/*ts; do
|
||||||
|
o=`basename $i|cut -b3-`
|
||||||
|
o="${o,,}"
|
||||||
|
o="${o//@/_}"
|
||||||
|
echo "$i -> $o"
|
||||||
|
mv "$i" "$HOME/src/PyBitmessage/src/translations/$o"
|
||||||
|
done
|
||||||
|
|
||||||
|
rm -rf -- $srcdir
|
||||||
|
|
||||||
|
lrelease-qt4 "$HOME/src/PyBitmessage/src/translations/bitmessage.pro"
|
|
@ -67,6 +67,10 @@ function install_python(){
|
||||||
echo "Installing vc_redist (2008) for 32 bit "
|
echo "Installing vc_redist (2008) for 32 bit "
|
||||||
wine vcredist_x86.exe /Q
|
wine vcredist_x86.exe /Q
|
||||||
fi
|
fi
|
||||||
|
# add cert
|
||||||
|
if [ -f /usr/local/share/ca-certificates/bitmessage-proxy.crt ]; then
|
||||||
|
wine python -m pip config set global.cert 'z:\usr\local\share\ca-certificates\bitmessage-proxy.crt'
|
||||||
|
fi
|
||||||
echo "Upgrading pip"
|
echo "Upgrading pip"
|
||||||
wine python -m pip install --upgrade pip
|
wine python -m pip install --upgrade pip
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue
Block a user