interfaces/python/setup.py: only compile c files
authorPaul Brossier <piem@piem.org>
Wed, 21 Oct 2009 17:54:58 +0000 (19:54 +0200)
committerPaul Brossier <piem@piem.org>
Wed, 21 Oct 2009 17:54:58 +0000 (19:54 +0200)
interfaces/python/setup.py

index d9f392f2a23c2e58b97348d7cef52302b330af30..dee021dc6d4b4883e26f7168e7c76707474c5a69 100644 (file)
@@ -2,6 +2,7 @@ from distutils.core import setup, Extension
 
 from os import listdir
 generated_files = listdir('generated')
+generated_files = filter(lambda x: x.endswith('.c'), generated_files)
 generated_files = ['generated/'+f for f in generated_files]
 
 setup(name="_aubio", version="1.0",