Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

wrong path for virtualenv on Windows? #25

Open
ergodicbreak opened this issue Feb 22, 2015 · 1 comment
Open

wrong path for virtualenv on Windows? #25

ergodicbreak opened this issue Feb 22, 2015 · 1 comment

Comments

@ergodicbreak
Copy link

This code at https://github.com/LightTable/Python/blob/master/src/lt/plugins/python.cljs#L112 doesn't look right,

(defn find-venv [obj]
  (let [to-find (if (platform/win?)
                  "bin\\python"
                  "bin/python")
; ....

On Windows the virtualenv bin dir is called Scripts.

If I try to set this dir as root with Add Connection in LT, LT doesn't find the Python exe there.

edit: I think the correct path here is "scripts\\python.exe"

@ergodicbreak
Copy link
Author

Opened a pull request at #26

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant