diff setup.py @ 80842:6eefe4d537b3

Issue #16421: allow to load multiple modules from the same shared object. Patch by Václav Šmilauer.
author Andrew Svetlov <andrew.svetlov@gmail.com>
date Fri, 14 Dec 2012 17:04:59 +0200
parents 76abdc4b3795
children 5c0c6de528dd
line wrap: on
line diff
--- a/setup.py	Thu Dec 13 15:44:18 2012 -0800
+++ b/setup.py	Fri Dec 14 17:04:59 2012 +0200
@@ -594,6 +594,8 @@
                                depends=['testcapi_long.h']) )
         # Python PEP-3118 (buffer protocol) test module
         exts.append( Extension('_testbuffer', ['_testbuffer.c']) )
+        # Test loading multiple modules from one compiled file (http://bugs.python.org/issue16421)
+        exts.append( Extension('_testimportmultiple', ['_testimportmultiple.c']) )
         # profiler (_lsprof is for cProfile.py)
         exts.append( Extension('_lsprof', ['_lsprof.c', 'rotatingtree.c']) )
         # static Unicode character database