Commit e9bd6af6 authored by scoder's avatar scoder

Merge pull request #228 from tecki/master

Use all distutils config files in pyximport
parents f486ed52 d566d94b
...@@ -79,15 +79,9 @@ def pyx_to_dll(filename, ext = None, force_rebuild = 0, ...@@ -79,15 +79,9 @@ def pyx_to_dll(filename, ext = None, force_rebuild = 0,
build = dist.get_command_obj('build') build = dist.get_command_obj('build')
build.build_base = pyxbuild_dir build.build_base = pyxbuild_dir
config_files = dist.find_config_files()
try: config_files.remove('setup.cfg')
except ValueError: pass
dist.parse_config_files(config_files)
cfgfiles = dist.find_config_files() cfgfiles = dist.find_config_files()
try: cfgfiles.remove('setup.cfg')
except ValueError: pass
dist.parse_config_files(cfgfiles) dist.parse_config_files(cfgfiles)
try: try:
ok = dist.parse_command_line() ok = dist.parse_command_line()
except DistutilsArgError: except DistutilsArgError:
......
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