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
Matthias Koeppe committed Mar 17, 2024
1 parent fbc05a2 commit b9fcd14
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 @@ -796,12 +796,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 b9fcd14

Please sign in to comment.