contrib/python-zstandard/setup_zstd.py
changeset 52651 f066fc0bdc7a
parent 50528 9d1c56a79bb8
--- a/contrib/python-zstandard/setup_zstd.py	Mon Jan 06 01:27:42 2025 -0500
+++ b/contrib/python-zstandard/setup_zstd.py	Mon Jan 06 01:33:08 2025 -0500
@@ -134,7 +134,7 @@
     actual_root = os.path.abspath(os.path.dirname(__file__))
     root = root or actual_root
 
-    sources = set([os.path.join(actual_root, p) for p in ext_sources])
+    sources = {os.path.join(actual_root, p) for p in ext_sources}
     if not system_zstd:
         sources.update([os.path.join(actual_root, p) for p in zstd_sources])
         if support_legacy:
@@ -143,7 +143,7 @@
             )
     sources = list(sources)
 
-    include_dirs = set([os.path.join(actual_root, d) for d in ext_includes])
+    include_dirs = {os.path.join(actual_root, d) for d in ext_includes}
     if not system_zstd:
         from distutils import sysconfig
         from shlex import quote