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

Commit

Permalink
build/pkgs/sagelib/src/tox.ini: Add environment python-norequirements
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Dec 10, 2020
1 parent 95b74e8 commit 99b56f5
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions build/pkgs/sagelib/src/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,35 @@
#
# ./sage -i tox
#
# To build and test in the tox environment:
# All tests require an installation of the non-Python components of the Sage distribution
# in SAGE_LOCAL.
#
# ./sage -sh -c '(cd build/pkgs/sagelib/src && tox -v -v -v)'
# To build and test in the tox environment using the concrete Python dependencies specified
# by requirements.txt:
#
# To test interactively:
# ./sage -sh -c '(cd build/pkgs/sagelib/src && tox -v -v -v)'
#
# build/pkgs/sagelib/src/.tox/python/bin/python
# Afterwards, to test interactively:
#
# build/pkgs/sagelib/src/.tox/python/bin/python
# build/pkgs/sagelib/src/.tox/python/bin/sage
#
# To build and test without using the concrete dependencies specified by requirements.txt,
# using the dependencies declared in setup.cfg only:
#
# ./sage -sh -c '(cd build/pkgs/sagelib/src && tox -v -v -v -e python-norequirements)'
#
[tox]

[testenv]
deps = -rrequirements.txt
deps =
!norequirements: -rrequirements.txt

# These are dependencies of the build system (setup.py).
# Later we will declare them using pyproject.toml
norequirements: Cython
norequirements: pkgconfig
norequirements: numpy

passenv =
SAGE_LOCAL
Expand Down

0 comments on commit 99b56f5

Please sign in to comment.