Commit 6f0186c9 authored by David Hirschfeld's avatar David Hirschfeld

Added comment. Included setup.cfg in config file parsing.

parent 1fa46ec6
......@@ -178,9 +178,9 @@ def __invoke(%(params)s):
include_dirs = c_include_dirs,
extra_compile_args = cflags)
dist = Distribution()
# Ensure the build respects distutils configuration by parsing
# the configuration files
config_files = dist.find_config_files()
try: config_files.remove('setup.cfg')
except ValueError: pass
dist.parse_config_files(config_files)
build_extension = build_ext(dist)
build_extension.finalize_options()
......
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