Fix the PYTHONPATH setting
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-librosa?expand=0&rev=51
This commit is contained in:
parent
22e261fa37
commit
d5e8ae22ac
@ -103,7 +103,7 @@ sed -i '/addopts/ s/--cov-report.*--cov-report=xml//' setup.cfg
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib} $python %{SOURCE20}
|
||||
%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" $python %{SOURCE20}
|
||||
|
||||
export LIBROSA_DATA_DIR=$PWD/librosa-pooch-cache
|
||||
# image files do not match without exact mpl version
|
||||
|
10
sysinfo.py
10
sysinfo.py
@ -4,11 +4,15 @@ import platform
|
||||
import sys
|
||||
import numpy
|
||||
import scipy
|
||||
import librosa
|
||||
try:
|
||||
import librosa
|
||||
except ModuleNotFoundError:
|
||||
librosa = None
|
||||
|
||||
print(platform.platform())
|
||||
print("Python", sys.version)
|
||||
print("NumPy", numpy.__version__)
|
||||
print("SciPy", scipy.__version__)
|
||||
print("librosa", librosa.__version__)
|
||||
librosa.show_versions()
|
||||
if librosa is not None:
|
||||
print("librosa", librosa.__version__)
|
||||
librosa.show_versions()
|
||||
|
Loading…
Reference in New Issue
Block a user