41 Star 274 Fork 43

GVP墨客实验室/墨干理工套件

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
python3.scm 1.19 KB
Copy Edit Raw Blame History
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; MODULE : python3.scm
;; DESCRIPTION : python3 Binary plugin
;; COPYRIGHT : (C) 2024 Darcy Shen
;;
;; This software falls under the GNU general public license version 3 or later.
;; It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
;; in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(texmacs-module (binary python3)
(:use (binary common)))
(define (python3-binary-candidates)
(cond ((os-macos?)
(list "/usr/bin/python3"
"/opt/homebrew/bin/python3"
"/usr/local/bin/python3"))
((os-win32?)
(list "$LOCALAPPDATA/Programs/Python/Python3*/python.exe"))
(else
(list "/usr/bin/python3"))))
(tm-define (find-binary-python3)
(:synopsis "Find the url to the python3 binary, return (url-none) if not found")
(find-binary (python3-binary-candidates) "python3"))
(tm-define (has-binary-python3?)
(not (url-none? (find-binary-python3))))
(tm-define (version-binary-python3)
(version-binary (find-binary-python3)))
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/XmacsLabs/mogan.git
git@gitee.com:XmacsLabs/mogan.git
XmacsLabs
mogan
墨干理工套件
branch-1.2

Search