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

wrong path for virtualenv on Windows? #25

@ergodicbreak

Description

@ergodicbreak

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions