Linux / MacOS changes

This commit is contained in:
Jay Lee
2019-04-15 13:09:05 -04:00
parent a7bb600bf5
commit 48553f4ad9
2 changed files with 6 additions and 4 deletions

View File

@@ -1,6 +1,8 @@
sudo apt update
sudo apt -y dist-upgrade
sudo sh -c "echo 'foreign-architecture i386' > /etc/dpkg/dpkg.cfg.d/multiarch"
sudo apt update
sudo apt install -y python2.7:i386
sudo apt install -y python:i386 python2.7:i386 python2.7-minimal:i386 mime-support:i386
python -V
sudo pip install --upgrade pip
sudo pip freeze > requirements.txt

View File

@@ -1,6 +1,6 @@
sudo brew update
sudo brew install python@2 || true
sudo brew link --overwrite python@2
brew update
brew install python@2 || true
brew link --overwrite python@2
sudo pip install --upgrade pip
sudo pip freeze > requirements.txt
sudo pip install --upgrade -r requirements.txt