diff options
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/cystdlib.py | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/Tools/cystdlib.py b/Tools/cystdlib.py index 3e233502c..d55d3491e 100644 --- a/Tools/cystdlib.py +++ b/Tools/cystdlib.py @@ -26,13 +26,29 @@ broken = [ 'email/utils.py', 'multiprocessing/reduction.py', 'multiprocessing/util.py', + 'threading.py', # interrupt handling ] -default_directives = dict(auto_cpdef=True) +default_directives = dict( + auto_cpdef=True, + set_initial_path='SOURCEFILE') + special_directives = [ - (['pkgutil.py'], dict(auto_cpdef=False)), + (['pkgutil.py', + 'datetime.py', + 'optparse.py', + 'sndhdr.py', + 'opcode.py', + 'ntpath.py', + 'urllib/request.py', + 'plat-linux/TYPES.py', + 'tkinter/_fix.py', + 'lib2to3/refactor.py' + ], dict(auto_cpdef=False)), ] +#del special_directives[:] + def build_extensions(includes='**/*.py', excludes=excludes+broken, special_directives=special_directives, @@ -106,6 +122,6 @@ if __name__ == '__main__': pool.join() for ext, result in results: if not result: - print("building extension %s failed" % (ext[0],)) + print("building extension %s failed" % (ext[0].name,)) else: build(extensions) |