Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup: Do not fail when pkg-config is missing #229

Merged
merged 1 commit into from
Oct 25, 2023

Commits on Oct 24, 2023

  1. 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>
    bdrung committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    4f7e791 View commit details
    Browse the repository at this point in the history