Skip to content

Commit

Permalink
Only set PYTHONPATH for Cython translation @ tox
Browse files Browse the repository at this point in the history
It was overshadowing Fedora-injected variable in RPM builds.
  • Loading branch information
webknjaz committed May 31, 2024
1 parent 5d11398 commit ab00938
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,9 @@ setenv =
COV_CORE_CONFIG = {toxinidir}/.coveragerc
COV_CORE_DATAFILE = {toxinidir}/.coverage
COV_CORE_SOURCE =
PYTHONPATH = packaging/
SEGFAULT_SIGNALS = all
commands =
-{envpython} -m pep517_backend.cli translate-cython
env PYTHONPATH=packaging/ {envpython} -m pep517_backend.cli translate-cython
{env:CATCHSEGV_BINARY:} {envpython} -m \
pytest \
{tty:--color=yes} \
Expand Down

0 comments on commit ab00938

Please sign in to comment.