Skip to content

Commit 953ecda

Browse files
committed
scripts/python/module/tox.ini: revise relative paths made available for source testing [#2186]
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
1 parent 04e4ccc commit 953ecda

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/python/module/tox.ini

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@ envlist =
1515

1616
[testenv]
1717
setenv =
18-
PYTHONPATH = {toxinidir}:{toxinidir}/src/PyNUTClient
18+
PYTHONPATH = {toxinidir}:{toxinidir}/PyNUTClient
1919

20+
# On my system, some but not all Python versions complained about lack of
21+
# "distutils.cmd" etc. in the prepared virtual environments. Can this help?
2022
commands_pre =
2123
python -m pip install -U pip
2224

2325
commands =
24-
python src/PyNUTClient/test_nutclient.py
26+
python PyNUTClient/test_nutclient.py
2527
#py.test --basetemp={envtmpdir}

0 commit comments

Comments
 (0)