File tree Expand file tree Collapse file tree 3 files changed +11
-7
lines changed
Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 11{
2- :python-version " 3.10.16"
3- :python-deps [" openai==1.58.1"
4- " langextract" ]
2+ ; :python-version "3.10.16"
3+ ; :python-deps ["openai==1.58.1"
4+ ; "langextract"]
55 :python-executable " .venv/Scripts/python"
6- :pre-initialize-fn libpython-clj2.python.uv/sync-python-setup!
6+ ; :pre-initialize-fn libpython-clj2.python.uv/sync-python-setup!
77
88}
Original file line number Diff line number Diff line change @@ -837,6 +837,10 @@ user> c
837837 (require 'libpython-clj2.python.uv)
838838
839839 (libpython-clj2.python/initialize! )
840+ (libpython-clj2.python/run-simple-string " import sys; sys.path.append('.venv/Lib/site-packages')" )
840841 (libpython-clj2.python/run-simple-string " import sys; print(sys.path)" )
842+ (libpython-clj2.python/run-simple-string " import sys; print(sys.prefix)" )
843+ (libpython-clj2.python/run-simple-string " import sys; print(sys.base_prefix)" )
841844 (libpython-clj2.python/import-module " openai" )
842- (libpython-clj2.python/import-module " langextract" ))
845+ (libpython-clj2.python/import-module " langextract" )
846+ )
Original file line number Diff line number Diff line change 1010 (let [python-deps
1111 (:python-deps deps-edn)
1212
13- ; python-version (:python-version deps-edn)
13+ python-version (:python-version deps-edn)
1414
1515 py-project-header-lines [" [project]"
1616 " name = \" temp\" "
1717 " version = \" 0.0\" "
18- ; (format "requires-python = \"==%s\"" python-version)
18+ (format " requires-python = \" ==%s\" " python-version)
1919 ]
2020 python-deps-lines
2121 (map
You can’t perform that action at this time.
0 commit comments