37 Star 243 Fork 36

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

Create your Gitee Account
Explore and code with more than 12 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)))
C++
1
https://gitee.com/XmacsLabs/mogan.git
git@gitee.com:XmacsLabs/mogan.git
XmacsLabs
mogan
墨干理工套件
branch-1.2

Search

53164aa7 5694891 3bd8fe86 5694891