Skip to content

Commit

Permalink
fix command to find Python site-packages directory
Browse files Browse the repository at this point in the history
  • Loading branch information
dweber2022 committed Jul 29, 2024
1 parent 157254d commit c2aa2c7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
- name: Build Project and Run Tests
run: |
mkdir Output
python -m site
make test
- name: Run Integration Tests
run: |
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.PHONY: all backup test pytest diff ob_changes.patch init debug eclipse web init-web github-web html one exe btc

mofid-dir := $(shell pwd)
python-packages-dir := $(shell find /usr/lib/python* -type d -iname "site-packages")
python-packages-dir := $(shell python -m site | grep -o "/.*/site-packages" | head --lines 1)

all:
@echo "Sample make file for experimentation. Still needs work. Only backup implemented"
Expand Down

0 comments on commit c2aa2c7

Please sign in to comment.