<commit_before>#!/bin/bash
set -ev
brew update
brew install cartr/qt4/pyqt@4
pip2 install Cython

git clone  https://github.com/trezor/cython-hidapi
(cd cython-hidapi; git pull; git submodule init; git submodule update)
(cd cython-hidapi/; sudo python setup.py build install)

git clone https://github.com/akhavr/python-trezor
(cd python-trezor/ ; sudo python setup.py build install bdist)

pip2 install pyinstaller<commit_msg>add sudo to pip commands (#4)<commit_after>#!/bin/bash
set -ev
brew update
brew install cartr/qt4/pyqt@4
sudo pip2 install Cython

git clone  https://github.com/trezor/cython-hidapi
(cd cython-hidapi; git pull; git submodule init; git submodule update)
(cd cython-hidapi/; sudo python setup.py build install)

git clone https://github.com/akhavr/python-trezor
(cd python-trezor/ ; sudo python setup.py build install bdist)

sudo pip2 install pyinstaller
{'fraction_non_alphanumeric': 0.10113636363636364, 'fraction_numerical': 0.010227272727272727, 'mean_word_length': 4.720779220779221, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4472540', 'n_tokens_mistral': 316, 'n_tokens_neox': 306, 'n_words': 96}