projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56eb63f
)
pyximport: parse distutils config files (except local setup.cfg)
author
Lisandro Dalcin
<dalcinl@gmail.com>
Thu, 24 Sep 2009 21:42:00 +0000
(18:42 -0300)
committer
Lisandro Dalcin
<dalcinl@gmail.com>
Thu, 24 Sep 2009 21:42:00 +0000
(18:42 -0300)
pyximport/pyxbuild.py
patch
|
blob
|
history
diff --git
a/pyximport/pyxbuild.py
b/pyximport/pyxbuild.py
index 80c68b1692d24621270998336fa9daeaf5ad0fa9..8cb094e17c7c1e865386f485da791756996a64fe 100644
(file)
--- a/
pyximport/pyxbuild.py
+++ b/
pyximport/pyxbuild.py
@@
-55,6
+55,11
@@
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)
+
try:
ok = dist.parse_command_line()
except DistutilsArgError: