Skip to content

Commit

Permalink
fix osx translations
Browse files Browse the repository at this point in the history
  • Loading branch information
ddude1 committed Aug 7, 2018
1 parent 813a865 commit c2d2004
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/make_locale
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ if crowdin_api_key:

# Download & unzip
print('Download translations')
s = requests.request('GET', 'https://crowdin.com/download/project/' + crowdin_identifier + '.zip').content
s = requests.request('GET', 'https://crowdin.com/backend/download/project/' + crowdin_identifier + '.zip').content
zfobj = zipfile.ZipFile(io.BytesIO(s))

print('Unzip translations')
Expand Down
10 changes: 10 additions & 0 deletions contrib/travis/before_install-osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,22 @@ cd build
brew update
brew install zebra-lucky/qt5/qt5
brew install gettext
brew upgrade gmp

curl -O https://www.python.org/ftp/python/3.6.5/python-3.6.5-macosx10.6.pkg
curl -O https://bootstrap.pypa.io/get-pip.py
sudo installer -pkg python-3.6.5-macosx10.6.pkg -target /
sudo python3 get-pip.py


mkdir libusb
curl https://homebrew.bintray.com/bottles/libusb-1.0.22.el_capitan.bottle.tar.gz | tar xz --directory libusb
cp libusb/libusb/1.0.22/lib/libusb-1.0.dylib .

curl -O -L https://github.com/zebra-lucky/secp256k1/releases/download/0.1/libsecp256k1-0.1-osx.tgz
tar -xzf libsecp256k1-0.1-osx.tgz
cp libsecp256k1/libsecp256k1.0.dylib .

sudo pip3 install SIP==4.19.8
sudo pip3 install PyQt5==5.7.1
sudo pip3 install Cython==0.28.1
Expand Down

0 comments on commit c2d2004

Please sign in to comment.