Skip to content

Commit

Permalink
paths
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Dec 27, 2023
1 parent 7ad7dfd commit 02849ec
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/test-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,15 @@ jobs:
run: |
PATH="$PATH:~/.local/bin"
docker start pillow_container
echo "torch"
pil_path=`docker exec pillow_container /vpy3/bin/python -c 'import os, PIL;print(os.path.realpath(os.path.dirname(PIL.__file__)))'`
echo $pil_path
pil_path1=`docker exec pillow_container /vpy3/bin/python -c 'import site;print(site.getsitepackages())'`
echo $pil_path1
pil_path1a=`docker exec pillow_container /vpy3/bin/python -c 'import sysconfig;print(str(sysconfig.get_paths()))'
echo $pil_path1a
pil_path2=`docker exec pillow_container /vpy3/bin/python -m site --user-site`
echo $pil_path2
docker stop pillow_container
sudo mkdir -p $pil_path
sudo cp src/PIL/*.py $pil_path
Expand Down

0 comments on commit 02849ec

Please sign in to comment.