Skip to content

Commit

Permalink
remove windows builder
Browse files Browse the repository at this point in the history
I don't think it was doing anything
  • Loading branch information
esheldon committed Jun 19, 2024
1 parent 28a3330 commit e648436
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,24 +139,6 @@ def build_extensions(self):
build_ext.build_extensions(self)


class MyBuilderWindows(build_ext):
def build_extensions(self):
cflags = extra_compile_args
# cflags += ['-std=c++11']

# Add the appropriate extra flags for that compiler.
for e in self.extensions:
if any(
['.cc' in f or '.cpp' in f for f in e.sources]
):
e.extra_compile_args = cflags
# for flag in lflags:
# e.extra_link_args.append(flag)

# Now run the normal build function.
build_ext.build_extensions(self)


#
# Make the extensions to be built
#
Expand Down Expand Up @@ -257,9 +239,7 @@ def build_extensions(self):

kw = {}

if os.name == 'nt':
kw['cmdclass'] = {"build_ext": MyBuilderWindows}
else:
if os.name != 'nt':
kw['cmdclass'] = {"build_ext": MyBuilder}

setup(
Expand Down

0 comments on commit e648436

Please sign in to comment.