diff --git a/pyproject.toml b/pyproject.toml index 5bc331d..7d70ddb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ # https://peps.python.org/pep-0517/ [build-system] -requires = ["setuptools >=61.0.0", "swig >=4", "oldest-supported-numpy"] +requires = ["setuptools >=61.0.0", "swig >=4.1", "oldest-supported-numpy"] build-backend = "setuptools.build_meta" diff --git a/setup.py b/setup.py index db551fb..ee6e8cc 100644 --- a/setup.py +++ b/setup.py @@ -100,7 +100,7 @@ def run(self): )], swig_opts=[ "-c++", - "-py3", + "-python", "-builtin", "-I./mmCoreAndDevices/MMDevice", "-I./mmCoreAndDevices/MMCore",