mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-21 17:36:30 +00:00
Remove python 2 and common py2 packages
Eg python27 and python3-six, python3-flake8 python3-tox
This commit is contained in:
parent
28e1307978
commit
77495ad1aa
@ -26,8 +26,7 @@ case "$PACKAGE_MANAGER" in
|
||||
# Non-standard packages
|
||||
packages="$packages md5sha1sum"
|
||||
# Python packages
|
||||
packages="$packages python27 py27-ipython py27-pip py27-six py27-virtualenv"
|
||||
packages="$packages python$PY3V py$PY3V-ipython py$PY3V-pip py$PY3V-six py$PY3V-tox py$PY3V-flake8 py$PY3V-virtualenv py$PY3V-black"
|
||||
packages="$packages python$PY3V py$PY3V-ipython py$PY3V-pip py$PY3V-virtualenv py$PY3V-black"
|
||||
# Macvim with ruby and python support
|
||||
# sudo_package 'macvim +ruby +python27'
|
||||
# Vim with ruby and python support
|
||||
@ -46,7 +45,7 @@ case "$PACKAGE_MANAGER" in
|
||||
# Neovim python plugins
|
||||
packages="$packages python3-neovim"
|
||||
# Python packages
|
||||
packages="$packages python3 python3-ipython python3-pip python3-six tox python3-flake8 black python3-virtualenv python3-venv"
|
||||
packages="$packages python3 python3-ipython python3-pip python3-six black python3-virtualenv python3-venv"
|
||||
# Lua
|
||||
packages="$packages luarocks"
|
||||
;;
|
||||
@ -71,8 +70,6 @@ if [[ "$PACKAGE_MANAGER" == "port" ]]; then
|
||||
sudo port select --set pip2 pip27
|
||||
sudo port select --set pip3 "pip$PY3V"
|
||||
# Use py3 versions for utilities
|
||||
sudo port select --set tox "tox$PY3V"
|
||||
sudo port select --set flake8 "flake8-$PY3V"
|
||||
sudo port select --set black "black$PY3V"
|
||||
sudo port select --set virtualenv "virtualenv$PY3V"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user