Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 6a6ea4c

Browse files
author
Matthias Koeppe
committedMay 7, 2022
pkgs/*/tox.ini: Use {envpython}
1 parent d1a1402 commit 6a6ea4c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎pkgs/sagemath-categories/tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ whitelist_externals =
2525

2626
commands =
2727
# Beware of the treacherous non-src layout. "./sage/" shadows the install sage package.
28-
python -c 'import sys; "" in sys.path and sys.path.remove(""); import sage.cpython.builtin_types, sage.cpython.cython_metaclass, sage.cpython.debug, sage.structure.all, sage.categories.all'
28+
{envpython} -c 'import sys; "" in sys.path and sys.path.remove(""); import sage.cpython.builtin_types, sage.cpython.cython_metaclass, sage.cpython.debug, sage.structure.all, sage.categories.all'
2929

3030
# Test that importing sage.categories.all initializes categories
31-
python -c 'import sys; "" in sys.path and sys.path.remove(""); from sage.categories.all import *; SimplicialComplexes(); FunctionFields()'
31+
{envpython} -c 'import sys; "" in sys.path and sys.path.remove(""); from sage.categories.all import *; SimplicialComplexes(); FunctionFields()'
3232

3333
bash -c 'cd bin && SAGE_SRC=$(python -c "from sage.env import SAGE_SRC; print(SAGE_SRC)") && sage-runtests --environment=sage.all__sagemath_categories --optional=sage $SAGE_SRC/sage/structure || echo "(lots of doctest failures are expected)"'
3434

‎pkgs/sagemath-objects/tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ whitelist_externals =
2424

2525
commands =
2626
# Beware of the treacherous non-src layout. "./sage/" shadows the installed sage package.
27-
python -c 'import sys; "" in sys.path and sys.path.remove(""); import sage.structure.all, sage.categories.sets_cat'
27+
{envpython} -c 'import sys; "" in sys.path and sys.path.remove(""); import sage.structure.all, sage.categories.sets_cat'
2828

29-
python -c 'import sys; "" in sys.path and sys.path.remove(""); from sage.all__sagemath_objects import *'
29+
{envpython} -c 'import sys; "" in sys.path and sys.path.remove(""); from sage.all__sagemath_objects import *'
3030

3131
bash -c 'cd bin && SAGE_SRC=$(python -c "from sage.env import SAGE_SRC; print(SAGE_SRC)") && sage-runtests --environment=sage.all__sagemath_objects --optional=sage $SAGE_SRC/sage/structure || echo "(lots of doctest failures are expected)"'
3232

0 commit comments

Comments
 (0)
This repository has been archived.