dbcli / dbcli/mssql-cli

mssql-cli refers to "python" directly, which may not be available.

Open
#570 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
191
PR merge metrics
No merged PRs in 30d

Description

The startup script tries to run `python` (https://github.com/dbcli/mssql-cli/blob/67a3a4364383d11776bb0a397ceae7bc19200e41/mssql-cli#L16)
This is not available in some environments. For example fedora uses only version-specific `python3`. [PEP-0394](https://peps.python.org/pep-0394/) says basically that `python3` is more likely to exist than bare `python` (which may not be guaranteed to point at python3)

But the ideal solution would be to generate an entry point that uses the "current installation" python, like pip and other apps do. So when I install mssql-cli in a venv, the binary points at the local python, not my system one.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.