Commit 1c3a51e7 authored by Robert Bradshaw's avatar Robert Bradshaw

Merge pull request #129 from dhirschfeld/master

Fixed a vcvarsall.bat error on win32/Py2.7 when trying to compile with mingw.
parents 1d625ac1 6f0186c9
......@@ -178,7 +178,12 @@ def __invoke(%(params)s):
sources = [pyx_file],
include_dirs = c_include_dirs,
extra_compile_args = cflags)
build_extension = build_ext(Distribution())
dist = Distribution()
# Ensure the build respects distutils configuration by parsing
# the configuration files
config_files = dist.find_config_files()
dist.parse_config_files(config_files)
build_extension = build_ext(dist)
build_extension.finalize_options()
build_extension.extensions = cythonize([extension], ctx=ctx, quiet=quiet)
build_extension.build_temp = os.path.dirname(pyx_file)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment