From ab6680e9d6fff46c5ec11bf32c23c958999ddcb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jelmer=20Vernoo=C4=B3?= Date: Mon, 15 Sep 2025 10:45:16 +0100 Subject: [PATCH] Mark extensions as optional on all platforms Closes #132 --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index e20e2ec..a766b54 100755 --- a/setup.py +++ b/setup.py @@ -1,6 +1,5 @@ #!/usr/bin/python3 -import sys from setuptools import setup from setuptools_rust import Binding, RustExtension @@ -11,7 +10,7 @@ "fastbencode._bencode_rs", binding=Binding.PyO3, py_limited_api=False, - optional=sys.platform == "win32", + optional=True, ) ], )