Skip to content

Commit

Permalink
make SPKG-tox-...: Do set the sage environment
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Aug 13, 2024
1 parent f8f7b0f commit 114b53c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build/make/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -779,12 +779,13 @@ $(1)-sdist: FORCE python_build sage_setup cython
. '$$(SAGE_ROOT)/src/bin/sage-env' && \
'$$(SAGE_ROOT)/build/pkgs/$(1)/spkg-src'

# Recursive tox invocation (note - we do not set the environment here).
# Recursive tox invocation
# Setting SAGE_SPKG_WHEELS is for the benefit of sagelib's tox.ini
$(1)-tox-%: FORCE
$(AM_V_at)cd '$$(SAGE_ROOT)/build/pkgs/$(1)/src' && \
export PATH="$$(SAGE_ORIG_PATH)" && \
SAGE_VENV=$$(SAGE_VENV) \
. '$$(SAGE_ROOT)/src/bin/sage-src-env-config' && \
. '$$(SAGE_ROOT)/src/bin/sage-env-config' && \
. '$$(SAGE_ROOT)/src/bin/sage-env' && \
SAGE_SPKG_WHEELS=$$(SAGE_VENV)/var/lib/sage/wheels \
tox -v -v -v -e $$*

Expand Down

0 comments on commit 114b53c

Please sign in to comment.