mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-24 15:06:31 +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
|
# Non-standard packages
|
||||||
packages="$packages md5sha1sum"
|
packages="$packages md5sha1sum"
|
||||||
# Python packages
|
# 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-virtualenv py$PY3V-black"
|
||||||
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"
|
|
||||||
# Macvim with ruby and python support
|
# Macvim with ruby and python support
|
||||||
# sudo_package 'macvim +ruby +python27'
|
# sudo_package 'macvim +ruby +python27'
|
||||||
# Vim with ruby and python support
|
# Vim with ruby and python support
|
||||||
@ -46,7 +45,7 @@ case "$PACKAGE_MANAGER" in
|
|||||||
# Neovim python plugins
|
# Neovim python plugins
|
||||||
packages="$packages python3-neovim"
|
packages="$packages python3-neovim"
|
||||||
# Python packages
|
# 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
|
# Lua
|
||||||
packages="$packages luarocks"
|
packages="$packages luarocks"
|
||||||
;;
|
;;
|
||||||
@ -71,8 +70,6 @@ if [[ "$PACKAGE_MANAGER" == "port" ]]; then
|
|||||||
sudo port select --set pip2 pip27
|
sudo port select --set pip2 pip27
|
||||||
sudo port select --set pip3 "pip$PY3V"
|
sudo port select --set pip3 "pip$PY3V"
|
||||||
# Use py3 versions for utilities
|
# 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 black "black$PY3V"
|
||||||
sudo port select --set virtualenv "virtualenv$PY3V"
|
sudo port select --set virtualenv "virtualenv$PY3V"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user