@@ -106,11 +106,7 @@ def run(self):
106
106
other_modules = [lib for lib in orig_modules if not isinstance (lib , DotnetLib )]
107
107
108
108
if dotnet_modules :
109
- if os .path .isfile (CONFIGURED_PROPS ):
110
- self .announce ("Already configured" , level = distutils .log .INFO )
111
- else :
112
- self .announce ("Writing configured.props..." , level = distutils .log .INFO )
113
- _write_configure_props ()
109
+ self .run_command ("configure" )
114
110
115
111
for lib in dotnet_modules :
116
112
output = os .path .join (os .path .abspath (self .build_lib ), lib .args .pop ("output" ))
@@ -151,14 +147,6 @@ def run(self):
151
147
# If no modules need to be compiled, skip
152
148
153
149
154
- class bdist_wheel_patched (bdist_wheel ):
155
- def finalize_options (self ):
156
- # Monkey patch bdist_wheel to think the package is pure even though we
157
- # include DLLs
158
- super ().finalize_options ()
159
- self .root_is_pure = True
160
-
161
-
162
150
with open ("README.rst" , "r" ) as f :
163
151
long_description = f .read ()
164
152
@@ -221,7 +209,6 @@ def finalize_options(self):
221
209
# data_files=[("{install_platlib}", ["{build_lib}/pythonnet"])],
222
210
cmdclass = {
223
211
"build_ext" : BuildDotnet ,
224
- "bdist_wheel" : bdist_wheel_patched ,
225
212
"configure" : Configure ,
226
213
},
227
214
py_modules = ["clr" ],
0 commit comments