Commit 813ff05a authored by Lisandro Dalcin's avatar Lisandro Dalcin

pyximport: parse distutils config files (except local setup.cfg)

parent 56eb63f0
...@@ -55,6 +55,11 @@ def pyx_to_dll(filename, ext = None, force_rebuild = 0, ...@@ -55,6 +55,11 @@ 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)
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