File tree Expand file tree Collapse file tree 3 files changed +15
-10
lines changed
src/libpython_clj2/python Expand file tree Collapse file tree 3 files changed +15
-10
lines changed Original file line number Diff line number Diff line change 2222.clj-kondo
2323pregen-ffi-test
2424.calva
25+ .lock
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11(ns libpython-clj2.python.uv
2- (:require
3- [clojure.edn :as edn]
4- [clojure.java.process :as process]
5- [clojure.string :as str]
6- [cheshire.core :as json]
7- ))
2+ (:require
3+ [clojure.edn :as edn]
4+ [clojure.java.process :as process]
5+ [clojure.string :as str]
6+ [cheshire.core :as json]))
87
98(defn write-pyproject-toml! [deps-edn]
109
9291
9392(defn setup! [& args]
9493 (setup-python! )
95- (setup-r! )
94+ ; (setup-r!)
9695 )
9796
97+ (comment
98+ (require 'libpython-clj2.python)
99+ (require 'libpython-clj2.python.uv)
100+ (libpython-clj2.python.uv/setup! )
101+ (libpython-clj2.python/initialize! :python-executable " .venv/bin/python" )
102+ (libpython-clj2.python/run-simple-string " import sys; print(sys.path)" )
103+ (libpython-clj2.python/import-module " openai" )
104+ )
You can’t perform that action at this time.
0 commit comments