Commit 868fa3db authored by Dag Sverre Seljebotn's avatar Dag Sverre Seljebotn

Cleanup

parent fb7d630d
...@@ -558,10 +558,7 @@ if __name__ == '__main__': ...@@ -558,10 +558,7 @@ if __name__ == '__main__':
libpath = pyx_to_dll(os.path.join("Cython", "Runtime", "refnanny.pyx"), libpath = pyx_to_dll(os.path.join("Cython", "Runtime", "refnanny.pyx"),
build_in_temp=True, build_in_temp=True,
pyxbuild_dir=os.path.join(WORKDIR, "support")) pyxbuild_dir=os.path.join(WORKDIR, "support"))
ctypes.PyDLL(libpath, mode=ctypes.RTLD_GLOBAL)
sys.path.append(os.path.split(libpath)[0]) sys.path.append(os.path.split(libpath)[0])
import refnanny
del sys.path[-1]
CFLAGS.append("-DCYTHON_REFNANNY") CFLAGS.append("-DCYTHON_REFNANNY")
test_bugs = False test_bugs = False
...@@ -637,4 +634,5 @@ if __name__ == '__main__': ...@@ -637,4 +634,5 @@ if __name__ == '__main__':
sys.stderr.write(" %s\n" % test) sys.stderr.write(" %s\n" % test)
if options.with_refnanny: if options.with_refnanny:
import refnanny
sys.stderr.write("\n".join([repr(x) for x in refnanny.reflog])) sys.stderr.write("\n".join([repr(x) for x in refnanny.reflog]))
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