tevent: Install python tevent modules.
[mat/samba.git] / lib / tevent / wscript
index 5afaacaa55d80ca174ad8806385deddaf648b3f6..d240630b6a6fed3c75dca9a4f5ec211996683edf 100644 (file)
@@ -97,6 +97,12 @@ def build(bld):
                          'pytevent.c',
                          deps='tevent',
                          realname='_tevent.so')
+        # install out various python scripts for use by make test
+        bld.SAMBA_SCRIPT('tevent_python',
+                         pattern='tevent.py',
+                         installdir='python')
+
+        bld.INSTALL_WILDCARD('${PYTHONDIR}', 'tevent.py', flat=False)
 
 
 def test(ctx):