Skip to content

Commit ab00938

Browse files
committed
Only set PYTHONPATH for Cython translation @ tox
It was overshadowing Fedora-injected variable in RPM builds.
1 parent 5d11398 commit ab00938

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,9 @@ setenv =
5353
COV_CORE_CONFIG = {toxinidir}/.coveragerc
5454
COV_CORE_DATAFILE = {toxinidir}/.coverage
5555
COV_CORE_SOURCE =
56-
PYTHONPATH = packaging/
5756
SEGFAULT_SIGNALS = all
5857
commands =
59-
-{envpython} -m pep517_backend.cli translate-cython
58+
env PYTHONPATH=packaging/ {envpython} -m pep517_backend.cli translate-cython
6059
{env:CATCHSEGV_BINARY:} {envpython} -m \
6160
pytest \
6261
{tty:--color=yes} \

0 commit comments

Comments
 (0)