Skip to content

Commit

Permalink
[fix] use python3 instead of python
Browse files Browse the repository at this point in the history
  • Loading branch information
digikar99 committed May 12, 2024
1 parent 5e56dfc commit e66f210
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@ of the utility shared object/library that bridges the python C-API with lisp."
*python-executable-path*))

(defvar *python-executable-path*
(first (return-value-as-list "which python"))
(first (return-value-as-list "which python3"))
"The path to python executable. This will be used to set sys.path.
This is useful in cases such as venv when python3-config does not lead
to expected paths.")

(defvar *python-site-packages-path*
(return-value-as-list
"python -c 'import sys; print(\"\\n\".join(sys.path))'"))
"python3 -c 'import sys; print(\"\\n\".join(sys.path))'"))

(defvar *python-ignore-ldflags*
;; python3-config of older versions of python (such as python3.6) includes
Expand Down

0 comments on commit e66f210

Please sign in to comment.