Skip to content

Commit

Permalink
Merge pull request #1941 from eanopolsky/master
Browse files Browse the repository at this point in the history
fixes #1940, tests
  • Loading branch information
gopar committed Dec 10, 2021
2 parents d4e47a1 + 0a308b4 commit 0481f87
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion elpy-rpc.el
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,11 @@ this to prevent this from happening."
(or (executable-find "py")
(executable-find "pythonw")
"python")
"python")
(if (executable-find "python")
"python"
;; Fallback on systems where python is not
;; symlinked to python3.
"python3"))
"The Python interpreter for the RPC backend.
This should NOT be an interactive shell like ipython or jupyter.
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pip install -r requirements.txt --upgrade
pip install -r requirements-rpc.txt --upgrade
pip install -r requirements-dev.txt --upgrade
# For python2
if python -c 'import sys ; exit(sys.version_info < (3, 0))'
if python -c 'import sys ; exit(not sys.version_info < (3, 0))'
then
pip install -r requirements-dev2.txt --upgrade
fi
Expand Down

0 comments on commit 0481f87

Please sign in to comment.