Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3d745a6

Browse files
committed
Disable .rc generation for manifest: having the xml file in the same dir as the _configtest.exe is enough for now.
1 parent 0999c7c commit 3d745a6

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

numpy/distutils/command/config.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,12 @@ def _link (self, body,
126126
self.temp_files.append(manxml)
127127
man.write(manxml)
128128
man.close()
129-
# Write the rc file
130-
manrc = manifest_rc(manifest_name(self), "exe")
131-
rc = open(rc_name(self), "w")
132-
self.temp_files.append(manrc)
133-
rc.write(manrc)
134-
rc.close()
129+
# # Write the rc file
130+
# manrc = manifest_rc(manifest_name(self), "exe")
131+
# rc = open(rc_name(self), "w")
132+
# self.temp_files.append(manrc)
133+
# rc.write(manrc)
134+
# rc.close()
135135
return self._wrap_method(old_config._link,lang,
136136
(body, headers, include_dirs,
137137
libraries, library_dirs, lang))

0 commit comments

Comments
 (0)