Skip to content

Commit

Permalink
Added comment. Included setup.cfg in config file parsing.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Hirschfeld committed Jun 27, 2012
1 parent 1fa46ec commit 6f0186c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cython/Build/Inline.py
Expand Up @@ -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()
Expand Down

0 comments on commit 6f0186c

Please sign in to comment.