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

Commit 9375ef8

Browse files
author
Matthias Koeppe
committed
pkgs/sagemath-standard/tox.ini: Use SAGE_VENV or venv symlink to find wheels
1 parent 77c957f commit 9375ef8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pkgs/sagemath-standard/tox.ini

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ envlist =
2525
# Build dependencies according to requirements.txt (all versions fixed).
2626
# Use ONLY the wheels built and stored by the Sage distribution (no PyPI):
2727
#
28-
# ./sage -sh -c '(cd pkgs/sagelib && tox -v -v -v -e python-sagewheels-nopypi)'
28+
# ./sage -sh -c '(cd pkgs/sagemath-standard && tox -v -v -v -e python-sagewheels-nopypi)'
2929
#
3030
python-sagewheels-nopypi,
3131
#
3232
# Build and test without using the concrete dependencies specified by requirements.txt,
3333
# using the dependencies declared in pyproject.toml and setup.cfg (install-requires) only:
3434
# Still use ONLY the wheels built and stored by the Sage distribution (no PyPI).
3535
#
36-
# ./sage -sh -c '(cd pkgs/sagelib && tox -v -v -v -e python-sagewheels-nopypi-norequirements)'
36+
# ./sage -sh -c '(cd pkgs/sagemath-standard && tox -v -v -v -e python-sagewheels-nopypi-norequirements)'
3737
#
3838
python-sagewheels-nopypi-norequirements,
3939
#
@@ -44,7 +44,7 @@ envlist =
4444
# and additionally allow packages from PyPI.
4545
# Because all versions are fixed, we "should" end up using the prebuilt wheels.
4646
#
47-
# ./sage -sh -c '(cd pkgs/sagelib && tox -v -v -v -e python-sagewheels)'
47+
# ./sage -sh -c '(cd pkgs/sagemath-standard && tox -v -v -v -e python-sagewheels)'
4848
#
4949
python-sagewheels,
5050
#
@@ -81,8 +81,8 @@ passenv =
8181
PKG_CONFIG_PATH
8282
# Parallel build
8383
SAGE_NUM_THREADS
84-
# SAGE_LOCAL only for finding the wheels
85-
sagewheels: SAGE_LOCAL
84+
# SAGE_VENV only for finding the wheels
85+
sagewheels: SAGE_VENV
8686
# Location of the wheels (needs to include a PEP 503 compliant
8787
# Simple Repository index, i.e., a subdirectory "simple")
8888
sagewheels: SAGE_SPKG_WHEELS
@@ -92,7 +92,7 @@ setenv =
9292
HOME={envdir}
9393
# We supply pip options by environment variables so that they
9494
# apply both to the installation of the dependencies and of the package
95-
sagewheels: PIP_FIND_LINKS=file://{env:SAGE_SPKG_WHEELS:{env:SAGE_LOCAL:{toxinidir}/../../../../local}/var/lib/sage/wheels}
95+
sagewheels: PIP_FIND_LINKS=file://{env:SAGE_SPKG_WHEELS:{env:SAGE_VENV:{toxinidir}/../../../../venv}/var/lib/sage/wheels}
9696
nopypi: PIP_NO_INDEX=true
9797
# No build isolation for PEP 517 packages - use what is already in the environment
9898
# Note that this pip env "NO" variable uses inverted logic:

0 commit comments

Comments
 (0)