From 5418c3dbfa7497e8621fb97eb2955f14675abb09 Mon Sep 17 00:00:00 2001 From: Eric Berquist Date: Thu, 26 Oct 2023 23:57:48 -0400 Subject: [PATCH] Fix collecting $PACKAGE_INSTALL_DIR --- .github/workflows/CI.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index 4a56f47..aa14520 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -46,11 +46,9 @@ jobs: - name: Install package run: | python -m pip install -vvv . - # # Importing the Cython inside the source tree is broken unless the - # # compiled products are next to the source code, symlinked or - # # otherwise. - # python setup.py build_ext -i - PACKAGE_INSTALL_DIR=$(python -c 'import pyquante2 as _; print(_.__path__[0])') + # Trying to run this inside the source tree will look for the + # compiled products inside the source tree and will fail + pushd ~ && PACKAGE_INSTALL_DIR=$(python -c 'import pyquante2 as _; print(_.__path__[0])') && popd find $PACKAGE_INSTALL_DIR -type f | sort - name: Print Python environment run: |