diff --git a/README.md b/README.md index f523440..7032b69 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # Libpython-clj clj-template +* https://github.com/clj-python/libpython-clj * https://github.com/seancorfield/clj-new diff --git a/src/clj/new/libpython_clj/core.clj b/src/clj/new/libpython_clj/core.clj index a233d2d..7687975 100644 --- a/src/clj/new/libpython_clj/core.clj +++ b/src/clj/new/libpython_clj/core.clj @@ -1,7 +1,7 @@ (ns {{base}}.{{suffix}} - (:require [libpython-clj.python :as py :refer [py. py.- py.. py* py**]] - {{base}}.python - [libpython-clj.require :refer [require-python import-python]])) + (:require [libpython-clj2.python :as py :refer [py. py.- py.. py* py**]] + [{{base}}.python] + [libpython-clj2.require :refer [require-python import-python]])) (import-python) diff --git a/src/clj/new/libpython_clj/python.clj b/src/clj/new/libpython_clj/python.clj index 3f00694..63e4c5a 100644 --- a/src/clj/new/libpython_clj/python.clj +++ b/src/clj/new/libpython_clj/python.clj @@ -1,5 +1,5 @@ (ns {{base}}.python - (:require [libpython-clj.python :as py])) + (:require [libpython-clj2.python :as py])) (defn initialize-python! ([] (py/initialize!)) @@ -11,5 +11,5 @@ ;; you bind to below. Make sure you do this before you call 'require-python' ;; in any file. -;; (initialize-python! "/path/to/venv/bin/python") -(initialize-python! "python3.7") +;; (initialize-python! "/path/to/env/bin/python") +(initialize-python! "python3")