Changeset 1167631 for Makefile


Ignore:
Timestamp:
May 13, 2016, 6:50:20 PM (9 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:
2e324f5
Parents:
c09efca
Message:

move python/setup.py to setup.py, update Makefile, add requirements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rc09efca r1167631  
    2929
    3030build_python:
    31         cd python && python ./setup.py generate $(ENABLE_DOUBLE) build
     31        python ./setup.py generate $(ENABLE_DOUBLE) build
    3232
     33test_python: export LD_LIBRARY_PATH=$(PWD)/build/src
    3334test_python:
    34         cd python && pip install -v .
    35         cd python && LD_LIBRARY_PATH=$(PWD)/build/src nose2 --verbose
    36         cd python && pip uninstall -y -v aubio
     35        pip install -v -r requirements.txt
     36        pip install -v .
     37        nose2 --verbose
     38        pip uninstall -y -v aubio
    3739
    3840test_python_osx:
    39         cd python && pip install --user -v .
     41        # create links from ~/lib/lib* to build/src/lib*
    4042        [ -f build/src/libaubio.[0-9].dylib ] && ( mkdir -p ~/lib && cp -prv build/src/libaubio.4.dylib ~/lib ) || true
    41         cd python && nose2 --verbose
    42         cd python && pip uninstall -y -v aubio
     43        # then run the tests
     44        pip install --user -v -r requirements.txt
     45        pip install --user -v .
     46        nose2 --verbose
     47        pip uninstall -y -v aubio
    4348
    4449clean_python:
    45         cd python && ./setup.py clean
     50        ./setup.py clean
    4651
    4752build_python3:
    48         cd python && python3 ./setup.py generate $(ENABLE_DOUBLE) build
     53        python3 ./setup.py generate $(ENABLE_DOUBLE) build
    4954
    5055clean_python3:
    51         cd python && python3 ./setup.py clean
     56        python3 ./setup.py clean
    5257
    5358clean:
Note: See TracChangeset for help on using the changeset viewer.