Changeset 92c83ccc for python


Ignore:
Timestamp:
Mar 8, 2013, 3:30:45 PM (12 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
e6f7a4a
Parents:
98c0f92
Message:

python/: move generator.py to lib, improve README, remove env_ files, update MANIFEST.in

Location:
python
Files:
1 added
2 deleted
3 edited
2 moved

Legend:

Unmodified
Added
Removed
  • python/MANIFEST.in

    r98c0f92 r92c83ccc  
    11include README COPYING VERSION
    22include ext/*.h
     3include lib/generator.py
     4include lib/gen_pyobject.py
    35include gen/aubio-generated.h
    4 include generator.py
    5 include gen_pyobject.py
    6 include aubio/*.py
    7 include demos/*.py
    86include tests/run_all_tests
    97include tests/*.py
     8include demos/*.py
  • python/README

    r98c0f92 r92c83ccc  
    1313You should be able to build the aubio python module out of the box:
    1414
    15     $ ./build_osx
     15    $ python setup.py build
    1616
    17 This should work on linux based systems as well as recent versions of OS X
    18 (10.8.x). Let me know if you have issues on your platforms.
     17To use the python module without installing it, set PYTHONPATH:
     18
     19    $ export PYTHONPATH=$PYTHONPATH:$PWD/`ls -rtd build/lib.* | head -1`:$PWD/tests
     20
     21And LD_LIBRARY_PATH:
     22
     23    $ export LD_LIBRARY_PATH=$PWD/../build/src
     24
     25Or on macosx systems:
     26
     27    $ export DYLD_LIBRARY_PATH=$PWD/../build/src
     28
     29The you should be able to run the tests:
     30
     31    $ ./tests/run_all_tests
     32
     33And to try out the demos:
     34
     35    $ ./demos/demo_source.wav ~/test.wav
    1936
    2037Additional tools
  • python/setup.py

    r98c0f92 r92c83ccc  
    2929
    3030if not os.path.isdir(output_path):
    31     from generator import generate_object_files
     31    from lib.generator import generate_object_files
    3232    generated_object_files = generate_object_files(output_path)
    3333    # define include dirs
Note: See TracChangeset for help on using the changeset viewer.