Use %py3_test_envvars instead of manually setting PYTHONPATH
This commit is contained in:
parent
2b66248c7f
commit
daa4ac0436
@ -99,7 +99,7 @@ done
|
||||
%pytest tests/ setuptools_rust/ --import-mode importlib -k '%{test_ignores}'
|
||||
|
||||
%if %{with integration_tests}
|
||||
export PYTHONPATH=%{buildroot}%{python3_sitelib}
|
||||
export %{py3_test_envvars}
|
||||
for example in $(ls examples/ | grep -vE %{integration_tests_exc}); do
|
||||
cd "examples/${example}"
|
||||
%{python3} -c 'from setuptools.build_meta import build_wheel; build_wheel("dist")'
|
||||
|
Loading…
Reference in New Issue
Block a user