Suppose a CLI utility published in PyPI, downloadable with pip
.
I want to install it for being usable not inside a virtual environment. With a virtual environment, the entrypoint script is being created in the env/bin/
directory. But, installing it with pip
with the virtual environment deactivated, it's just being installed in /usr/local/lib/pythonX/dist-packages/<package-name>
, and without a <package-name>
entrypoint script in the path, so it's not callable.
Is there a possibility to do so?