Skip to content

test_cli fails when the script is installed in different location than sys.executable #219

@hroncok

Description

@hroncok

Hello.

If for example my sys.executable is /usr/bin/python3 but I install trove-classifiers to my ~/.local/bin/ (with pip install --user), the tests fail in

subprocess.check_call(f"{BINDIR}/trove-classifiers")

f"{BINDIR}/trove-classifiers", capture_output=True, encoding="utf-8"

The simplest solution for me was to get rid of the {BINDIR}/ part. Is it necessary?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions