diff options
author | scoder <stefan_ml@behnel.de> | 2014-08-02 17:42:27 +0200 |
---|---|---|
committer | scoder <stefan_ml@behnel.de> | 2014-08-02 17:42:27 +0200 |
commit | e9bd6af643d3d01fe2cf9aaebe7594accdfec22c (patch) | |
tree | 10e95955b90259f943d9fb0bdff1f19cf524ac55 /pyximport | |
parent | f486ed5251de05c142ddd478bc716e1a4d743d76 (diff) | |
parent | d566d94b5d5ed82eb6bcfe884261c1ad030e3327 (diff) | |
download | cython-e9bd6af643d3d01fe2cf9aaebe7594accdfec22c.tar.gz |
Merge pull request #228 from tecki/master
Use all distutils config files in pyximport
Diffstat (limited to 'pyximport')
-rw-r--r-- | pyximport/pyxbuild.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/pyximport/pyxbuild.py b/pyximport/pyxbuild.py index 82401cdbc..6d54c1ad9 100644 --- a/pyximport/pyxbuild.py +++ b/pyximport/pyxbuild.py @@ -79,15 +79,9 @@ def pyx_to_dll(filename, ext = None, force_rebuild = 0, build = dist.get_command_obj('build') 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() - try: cfgfiles.remove('setup.cfg') - except ValueError: pass dist.parse_config_files(cfgfiles) + try: ok = dist.parse_command_line() except DistutilsArgError: |