diff --git a/.bashrc.d/python-local b/.bashrc.d/python-local index 2f22aed..336937a 100644 --- a/.bashrc.d/python-local +++ b/.bashrc.d/python-local @@ -1,2 +1,2 @@ # pathadd ~/.local/bin -alias pyenv='source .pyenv/bin/activate' +alias pyenv='[[ ! -d .pyenv ]] && python3.9 -mvenv .pyenv ; source .pyenv/bin/activate' diff --git a/src/py-requirements-common.txt b/src/py-requirements-common.txt index 1e04e5f..b34f9a9 100644 --- a/src/py-requirements-common.txt +++ b/src/py-requirements-common.txt @@ -1,7 +1,5 @@ black isort -mypy pip -pylint rope typed-ast