We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6a896b0 + f9d757c commit d4f0d4eCopy full SHA for d4f0d4e
setup.py
@@ -107,15 +107,16 @@ def __init__(self, dist):
107
108
109
class BuildExtraLibraries(BuildExtCommand):
110
- def run(self):
111
- # Remove the -Wstrict-prototypes option, it's not valid for C++.
+ def build_extensions(self):
+ # Remove the -Wstrict-prototypes option, it's not valid for C++. Fixed
112
+ # in Py3.7 as bpo-5755.
113
try:
114
self.compiler.compiler_so.remove('-Wstrict-prototypes')
115
except (ValueError, AttributeError):
116
pass
117
for package in good_packages:
118
package.do_custom_build()
- return BuildExtCommand.run(self)
119
+ return super().build_extensions()
120
121
122
cmdclass = versioneer.get_cmdclass()
0 commit comments