Skip to content

Better path defaults #15

Closed as not planned
Closed as not planned
@2bndy5

Description

@2bndy5

This thread is for exploring less intrusive paths default values (paths that don't require admin privileges.

On Linux, the default is ~/.local/bin, but this path doesn't seem to be part of the PATH env var by default. On a fresh Ubuntu install, this path doesn't exist.

Currently, for macosx and windows, the default path is the same as the python executable. This isn't bad if the user is working in a venv, but it requires admin privileges otherwise.

I think we should do a check to see if the selected install path (either default or user-selected) is in the OS env var PATH. If it isn't, then we can warn the user that the install path is not in the PATH env var (similar to what pip does).

If the install path is not in the env var PATH, we might also want to skip the check to see if the tool is already installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions