runway.compat module
Python dependency compatibility handling.
- exception runway.compat.PackageNotFoundError[source]
Bases:
ModuleNotFoundError
The package was not found.
- property name
module name
- __init__(*args, **kwargs)
- __new__(**kwargs)
- add_note()
Exception.add_note(note) – add a note to the exception
- msg
exception message
- name_from
name imported from module
- path
module path
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- runway.compat.shlex_join(split_command)
Return a shell-escaped string from split_command.