Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lu1and10 authored Dec 22, 2023
1 parent 10142b4 commit 8e389c5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions python/finufft/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)


Expand Down

0 comments on commit 8e389c5

Please sign in to comment.