We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c0bc38 commit a06060aCopy full SHA for a06060a
1 file changed
src/torchcodec/_internally_replaced_utils.py
@@ -18,9 +18,11 @@ def _get_extension_path(lib_name: str) -> str:
18
extension_suffixes = importlib.machinery.EXTENSION_SUFFIXES
19
elif sys.platform == "darwin":
20
extension_suffixes = importlib.machinery.EXTENSION_SUFFIXES + [".dylib"]
21
+ elif sys.platform in ("win32", "cygwin"):
22
+ extension_suffixes = importlib.machinery.EXTENSION_SUFFIXES + [".dll"]
23
else:
24
raise NotImplementedError(
- "Platforms other than linux/darwin are not supported yet"
25
+ f"{sys.platform = } is not not supported"
26
)
27
loader_details = (
28
importlib.machinery.ExtensionFileLoader,
0 commit comments