diff --git a/test/attdet.py b/test/attdet.py index c318e32..3b6e9d9 100644 --- a/test/attdet.py +++ b/test/attdet.py @@ -16,7 +16,7 @@ import numpy as np -import build.lc3 as lc3 +import lc3 import tables as T, appendix_c as C diff --git a/test/bwdet.py b/test/bwdet.py index bb7dd83..88d7c8c 100644 --- a/test/bwdet.py +++ b/test/bwdet.py @@ -16,7 +16,7 @@ import numpy as np -import build.lc3 as lc3 +import lc3 import tables as T, appendix_c as C diff --git a/test/decoder.py b/test/decoder.py index 4bacc23..f6a131e 100755 --- a/test/decoder.py +++ b/test/decoder.py @@ -21,7 +21,7 @@ import scipy.io.wavfile as wavfile import struct import argparse -import build.lc3 as lc3 +import lc3 import tables as T, appendix_c as C import mdct, energy, bwdet, sns, tns, spec, ltpf diff --git a/test/encoder.py b/test/encoder.py index 307d183..59490e5 100755 --- a/test/encoder.py +++ b/test/encoder.py @@ -21,7 +21,7 @@ import scipy.io.wavfile as wavfile import struct import argparse -import build.lc3 as lc3 +import lc3 import tables as T, appendix_c as C import attdet, ltpf diff --git a/test/energy.py b/test/energy.py index 13c6828..a1bc5c3 100644 --- a/test/energy.py +++ b/test/energy.py @@ -16,7 +16,7 @@ import numpy as np -import build.lc3 as lc3 +import lc3 import tables as T, appendix_c as C ### ------------------------------------------------------------------------ ### diff --git a/test/ltpf.py b/test/ltpf.py index 1a852c8..4bf3e72 100644 --- a/test/ltpf.py +++ b/test/ltpf.py @@ -17,7 +17,7 @@ import numpy as np import scipy.signal as signal -import build.lc3 as lc3 +import lc3 import tables as T, appendix_c as C ### ------------------------------------------------------------------------ ### diff --git a/test/makefile.mk b/test/makefile.mk index cfced65..b52b7ac 100644 --- a/test/makefile.mk +++ b/test/makefile.mk @@ -17,7 +17,7 @@ TEST_DIR := test test_py: - $(V)cd $(TEST_DIR) && python3 setup.py && python3 run.py + $(V)cd $(TEST_DIR) && python3 setup.py && PYTHONPATH=build python3 run.py .PHONY: test test-clean diff --git a/test/mdct.py b/test/mdct.py index aafba3f..4e6d191 100644 --- a/test/mdct.py +++ b/test/mdct.py @@ -17,7 +17,7 @@ import numpy as np import scipy.fft -import build.lc3 as lc3 +import lc3 import tables as T, appendix_c as C ### ------------------------------------------------------------------------ ### diff --git a/test/sns.py b/test/sns.py index 897ed79..1c4e54d 100644 --- a/test/sns.py +++ b/test/sns.py @@ -17,7 +17,7 @@ import numpy as np import scipy.fftpack as fftpack -import build.lc3 as lc3 +import lc3 import tables as T, appendix_c as C ### ------------------------------------------------------------------------ ### diff --git a/test/spec.py b/test/spec.py index 0117d57..4be4054 100644 --- a/test/spec.py +++ b/test/spec.py @@ -16,7 +16,7 @@ import numpy as np -import build.lc3 as lc3 +import lc3 import tables as T, appendix_c as C import bwdet as m_bwdet diff --git a/test/tns.py b/test/tns.py index fde7d54..18426e8 100644 --- a/test/tns.py +++ b/test/tns.py @@ -16,7 +16,7 @@ import numpy as np -import build.lc3 as lc3 +import lc3 import tables as T, appendix_c as C ### ------------------------------------------------------------------------ ###