Manage python depds with requirements + add googler

This commit is contained in:
Morgan Wattiez 2019-08-15 09:52:49 +02:00
parent dd10108010
commit 51cce7d63a
3 changed files with 88 additions and 5 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
*.retry
Gemfile.lock
.newjiraissue

View File

@ -50,7 +50,7 @@ ln -snf ~/Code/dotfiles/dot_zsh_functions ~/.zsh_functions
ln -snf ~/Code/dotfiles/dot_zshrc ~/.zshrc
ln -snf ~/Code/dotfiles/dot_zshrc.pre-oh-my-zsh ~/.zshrc.pre-oh-my-zsh
ln -snf ~/Code/dotfiles/private_dot_ssh/config ~/.ssh/config
ln -snf ~/Code/dotfiles/requirements.txt ~/requirements.txt
# Other symblinks + Install Docker Desktop for Mac
case "$(uname -s)" in
Darwin)
@ -128,21 +128,22 @@ sudo easy_install pip
sudo pip install --upgrade pip
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo python3 get-pip.py
sudo pip3 install --upgrade pip
case "$(uname -s)" in
Darwin)
ln -snf /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/bin/pip pip3
export PATH=$PATH:/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/bin/
;;
esac
sudo pip install --upgrade pip
pip install -r requirements.txt
# Install googler
sudo curl -o /usr/local/bin/googler https://raw.githubusercontent.com/jarun/googler/v3.9/googler && sudo chmod +x /usr/local/bin/googler
# was used for some slack cli in python... https://pypi.org/project/slack-cli/
# pip3 install pipenv
# pyenv install 3.6.0
# Install AWS-CLI
pip3 install boto3 awscli
# Upgrade
~/.scripts/upgrade.sh

81
requirements.txt Normal file
View File

@ -0,0 +1,81 @@
appdirs==1.4.3
appnope==0.1.0
argcomplete==1.10.0
awscli==1.16.140
backcall==0.1.0
beautifulsoup4==4.8.0
bleach==3.1.0
boto3==1.9.130
botocore==1.12.130
certifi==2018.11.29
chardet==3.0.4
Click==7.0
colorama==0.3.9
colorzero==1.1
cycler==0.10.0
ddgr==1.6
decorator==4.4.0
docutils==0.14
gpg==1.13.0
gpiozero==1.5.1
guizero==0.6.4
idna==2.8
ipykernel==5.1.1
ipython==7.6.0
ipython-genutils==0.2.0
jedi==0.14.0
jmespath==0.9.4
jupyter-client==5.2.4
jupyter-core==4.5.0
kiwisolver==1.1.0
matplotlib==2.2.2
multi-key-dict==2.0.3
nudatus==0.0.3
numpy==1.16.4
parso==0.5.0
pbr==5.3.0
pexpect==4.7.0
pickleshare==0.7.5
pigpio==1.42
Pillow==6.0.0
pipenv==2018.11.26
pkginfo==1.5.0.1
prompt-toolkit==2.0.9
ptyprocess==0.6.0
pyasn1==0.4.5
pycodestyle==2.4.0
pyflakes==2.0.0
pygame==1.9.6
Pygments==2.4.2
pyparsing==2.4.0
PyQt5==5.11.3
PyQt5-sip==4.19.17
PyQtChart==5.11.3
pyserial==3.4
python-dateutil==2.8.0
python-jenkins==1.4.0
pytz==2019.1
PyYAML==3.13
pyzmq==18.0.2
QScintilla==2.10.8
qtconsole==4.3.1
readme-renderer==24.0
rebound-cli==2.0.0
requests==2.21.0
requests-toolbelt==0.9.1
rsa==3.4.2
s3transfer==0.2.0
semver==2.8.1
six==1.12.0
slacker==0.11.0
soupsieve==1.9.2
tornado==6.0.3
tqdm==4.32.1
traitlets==4.3.2
urllib3==1.24.1
urwid==2.0.1
virtualenv==16.6.1
virtualenv-clone==0.5.3
wcwidth==0.1.7
webencodings==0.5.1
websocket-client==0.54.0