Skip to content

Commit

Permalink
fixup2
Browse files Browse the repository at this point in the history
  • Loading branch information
ronghanghu committed Aug 6, 2024
1 parent 5963524 commit 849298c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,22 @@ def finalize_options(self):
try:
super().finalize_options()
except Exception as e:
print(self.ERROR_MSG.format(e), file=sys.stderr)
print(self.ERROR_MSG.format(e))
self.extensions = []

def build_extensions(self):
try:
super().build_extensions()
except Exception as e:
print(self.ERROR_MSG.format(e), file=sys.stderr)
print(self.ERROR_MSG.format(e))
self.extensions = []

def get_ext_filename(self, ext_name):
try:
return super().get_ext_filename(ext_name)
except Exception as e:
print(self.ERROR_MSG.format(e), file=sys.stderr)
print(self.ERROR_MSG.format(e))
self.extensions = []
return "_C.so"


Expand Down

0 comments on commit 849298c

Please sign in to comment.