Fixed last BFP.
[python-purple] / setup.py
index 122bb5a..3b2c9e8 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -22,9 +22,8 @@ setup(
   version = '0.1',
   author ='Bruno Abinader',
   author_email='bruno.abinader@openbossa.org',
+  cmdclass = {'build_ext': pypurple_build_ext},
   ext_modules=[Extension('purple',
-              sources=['purple.pyx'],
+              sources=['c_purple.c','purple.pyx'],
               extra_compile_args=cflags,
-              extra_link_args=ldflags)],
-  cmdclass = {'build_ext': pypurple_build_ext},
-)
+              extra_link_args=ldflags)])