Skip to content

Commit

Permalink
Fix collecting $PACKAGE_INSTALL_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
berquist committed Oct 27, 2023
1 parent d7027a7 commit 5418c3d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 5418c3d

Please sign in to comment.