Don't write PYTEST.pyc bytecode

This commit is contained in:
Miro Hrončok 2019-07-22 17:35:27 +02:00
parent 5fb57be034
commit 866d7ddff0

View File

@ -114,6 +114,7 @@ find %{buildroot}%{python3_sitelib} \
-exec sed -i -e '1{/^#!/d}' {} \;
%check
PYTHONDONTWRITEBYTECODE=1 \
PATH=%{buildroot}%{_bindir}:${PATH} \
PYTHONPATH=%{buildroot}%{python3_sitelib} \
%{buildroot}%{_bindir}/pytest-%{python3_version} -r s testing \