python/: move source files to ext/
authorPaul Brossier <piem@piem.org>
Mon, 4 Mar 2013 19:46:56 +0000 (14:46 -0500)
committerPaul Brossier <piem@piem.org>
Mon, 4 Mar 2013 19:46:56 +0000 (14:46 -0500)
python/ext/aubio-types.h [moved from python/aubio-types.h with 100% similarity]
python/ext/aubiomodule.c [moved from python/aubiomodule.c with 100% similarity]
python/ext/aubioproxy.c [moved from python/aubioproxy.c with 100% similarity]
python/ext/aubiowraphell.h [moved from python/aubiowraphell.h with 100% similarity]
python/ext/py-cvec.c [moved from python/py-cvec.c with 100% similarity]
python/ext/py-fft.c [moved from python/py-fft.c with 100% similarity]
python/ext/py-filter.c [moved from python/py-filter.c with 100% similarity]
python/ext/py-filterbank.c [moved from python/py-filterbank.c with 100% similarity]
python/ext/py-phasevoc.c [moved from python/py-phasevoc.c with 100% similarity]
python/gen_pyobject.py
python/setup.py

similarity index 100%
rename from python/aubioproxy.c
rename to python/ext/aubioproxy.c
similarity index 100%
rename from python/py-cvec.c
rename to python/ext/py-cvec.c
similarity index 100%
rename from python/py-fft.c
rename to python/ext/py-fft.c
similarity index 100%
rename from python/py-filter.c
rename to python/ext/py-filter.c
index 20f4534a14c1d79ae4b6b946df74c5c28d7f232e..14920fbca808b56a28f92379fe480bb7fba35db3 100644 (file)
@@ -172,7 +172,7 @@ def gen_new_init(newfunc, name):
 // WARNING: this file is generated, DO NOT EDIT
 
 // WARNING: if you haven't read the first line yet, please do so
-#include "aubiowraphell.h"
+#include "ext/aubiowraphell.h"
 
 typedef struct
 {
index 55a6f8827e5a198be19fe5c39c9b0831acf05ee2..104154658aa7535391e108da383420d10d443078 100755 (executable)
@@ -17,16 +17,17 @@ include_dirs = ['../build/src', '../src', '.' ]
 library_dirs = filter (lambda x: os.path.isdir(x), library_dirs)
 include_dirs = filter (lambda x: os.path.isdir(x), include_dirs)
 
-aubio_extension = Extension("aubio._aubio",
-        ["aubiomodule.c",
-            "aubioproxy.c",
-            "py-cvec.c",
+aubio_extension = Extension("aubio._aubio", [
+            "ext/aubiomodule.c",
+            "ext/aubioproxy.c",
+            "ext/ufuncs.c",
+            "ext/py-cvec.c",
             # example without macro
-            "py-filter.c",
+            "ext/py-filter.c",
             # macroised
-            "py-filterbank.c",
-            "py-fft.c",
-            "py-phasevoc.c",
+            "ext/py-filterbank.c",
+            "ext/py-fft.c",
+            "ext/py-phasevoc.c",
             # generated files
             ] + generate_object_files(),
         include_dirs = include_dirs + [ numpy.get_include() ],