Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setup: Do not fail when pkg-config is missing
``` $ ./setup.py --help Traceback (most recent call last): File "./setup.py", line 106, in <module> systemd_unit_dir = subprocess.check_output( File "/usr/lib/python3.10/subprocess.py", line 421, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib/python3.10/subprocess.py", line 503, in run with Popen(*popenargs, **kwargs) as process: File "/usr/lib/python3.10/subprocess.py", line 971, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'pkg-config' ``` Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
- Loading branch information