From 8e389c5853c6fb5387310395308089c20e11160b Mon Sep 17 00:00:00 2001 From: Libin Lu Date: Thu, 21 Dec 2023 23:09:37 -0500 Subject: [PATCH] Update setup.py --- python/finufft/setup.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python/finufft/setup.py b/python/finufft/setup.py index 3813293d1..69b3f2050 100644 --- a/python/finufft/setup.py +++ b/python/finufft/setup.py @@ -5,7 +5,7 @@ # attempt ../make.inc reading (failed) and default finufftdir. 2/25/20 # Barnett trying to get sphinx.ext.autodoc to work w/ this, 10/5/20 -__version__ = '2.2.0beta' +__version__ = '2.2.0b1' from setuptools import setup, Extension from distutils.command.build_ext import build_ext as _build_ext @@ -84,7 +84,10 @@ def get_export_symbols(self, ext): def get_ext_filename(self, ext_name): if self._ctypes: - return ext_name + ".so" + if platform.system() != "Windows": + return ext_name + ".so" + else: + return ext_name + ".pyd" return super().get_ext_filename(ext_name)