include README COPYING VERSION
include ext/*.h
+include lib/generator.py
+include lib/gen_pyobject.py
include gen/aubio-generated.h
-include generator.py
-include gen_pyobject.py
-include aubio/*.py
-include demos/*.py
include tests/run_all_tests
include tests/*.py
+include demos/*.py
You should be able to build the aubio python module out of the box:
- $ ./build_osx
+ $ python setup.py build
-This should work on linux based systems as well as recent versions of OS X
-(10.8.x). Let me know if you have issues on your platforms.
+To use the python module without installing it, set PYTHONPATH:
+
+ $ export PYTHONPATH=$PYTHONPATH:$PWD/`ls -rtd build/lib.* | head -1`:$PWD/tests
+
+And LD_LIBRARY_PATH:
+
+ $ export LD_LIBRARY_PATH=$PWD/../build/src
+
+Or on macosx systems:
+
+ $ export DYLD_LIBRARY_PATH=$PWD/../build/src
+
+The you should be able to run the tests:
+
+ $ ./tests/run_all_tests
+
+And to try out the demos:
+
+ $ ./demos/demo_source.wav ~/test.wav
Additional tools
----------------
+++ /dev/null
-#! /bin/sh
-
-export PYTHONPATH=$PWD/`ls -rtd build/lib.* | head -1`:$PWD/tests:$PYTHONPATH
-export LD_LIBRARY_PATH=$PWD/../build/src
+++ /dev/null
-#! /bin/sh
-
-export PYTHONPATH=$PWD/`ls -rtd build/lib.* | head -1`:$PWD/tests:$PYTHONPATH
-export DYLD_LIBRARY_PATH=$PWD/../build/src
generated_object_files = []
if not os.path.isdir(output_path):
- from generator import generate_object_files
+ from lib.generator import generate_object_files
generated_object_files = generate_object_files(output_path)
# define include dirs
else: