dav_tools.requirements ====================== .. py:module:: dav_tools.requirements .. autoapi-nested-parse:: Requirements for running a progam. Functions --------- .. autoapisummary:: dav_tools.requirements.require Package Contents ---------------- .. py:function:: require(root=False, os = []) Require the program to statisfy the given requirements before continuing its execution. :param root: If True, the program needs to be run as root (if it isn't already, it automatically tries to relaunch itself with root privileges). :param os: Unless the list is empty, the program can be run only on specified OSes. If it isn't, the program terminates.