Permalink
Browse files

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

  • Loading branch information...
1 parent 1fa46ec commit 6f0186c93d4ad25b697c9c37ceff67f834178e15 David Hirschfeld committed Jun 27, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Cython/Build/Inline.py
View
4 Cython/Build/Inline.py
@@ -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()

0 comments on commit 6f0186c

Please sign in to comment.