Currently, the example demonstrate using the package's shell command to verify the existence of an entrypoint script.
Another way to perform the verification would be shutil.which, which is a platform-independent implementation of where (Windows) and which (Unix/Linux/macOS). Example:
Currently, the example demonstrate using the package's
shell
command to verify the existence of an entrypoint script.Another way to perform the verification would be
shutil.which
, which is a platform-independent implementation ofwhere
(Windows) andwhich
(Unix/Linux/macOS). Example: