diff --git a/setup.py b/setup.py index 542dc496df8..76566bdb590 100644 --- a/setup.py +++ b/setup.py @@ -1380,8 +1380,7 @@ class db_found(Exception): pass # End multiprocessing # Platform-specific libraries - if any(platform.startswith(prefix) - for prefix in ("linux", "freebsd", "gnukfreebsd")): + if platform.startswith(('linux', 'freebsd', 'gnukfreebsd')): exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) ) else: missing.append('ossaudiodev')