##// END OF EJS Templates
Fixed a vcvarsall.bat error on win32/Py2.7 when trying to compile with mingw.
David Hirschfeld -
Show More
@@ -156,7 +156,14 b' class CythonMagics(Magics):'
156 include_dirs = c_include_dirs,
156 include_dirs = c_include_dirs,
157 extra_compile_args = cflags
157 extra_compile_args = cflags
158 )
158 )
159 build_extension = build_ext(Distribution())
159 dist = Distribution()
160 config_files = dist.find_config_files()
161 try:
162 config_files.remove('setup.cfg')
163 except ValueError:
164 pass
165 dist.parse_config_files(config_files)
166 build_extension = build_ext(dist)
160 build_extension.finalize_options()
167 build_extension.finalize_options()
161 try:
168 try:
162 build_extension.extensions = cythonize([extension], ctx=ctx, quiet=quiet)
169 build_extension.extensions = cythonize([extension], ctx=ctx, quiet=quiet)
General Comments 0
You need to be logged in to leave comments. Login now