Skip to content

Commit

Permalink
Set PYTHONPATH in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
treiher committed Jan 6, 2023
1 parent 29f1e96 commit dab4c1b
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 13 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/edge_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ jobs:
- name: Install dependencies
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH
echo "PYTHONPATH=$PWD" >> $GITHUB_ENV
sudo apt install libgmp-dev patchelf
python -m pip install --upgrade pip wheel
make init install_devel_edge
Expand Down Expand Up @@ -91,7 +90,6 @@ jobs:
- name: Install dependencies
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH
echo "PYTHONPATH=$PWD" >> $GITHUB_ENV
echo "HYPOTHESIS_PROFILE=ci" >> $GITHUB_ENV
echo "PYTEST_ADDOPTS=--basetemp=build" >> $GITHUB_ENV
sudo apt install graphviz libgmp-dev patchelf
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ jobs:
- name: Install dependencies
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH
echo "PYTHONPATH=$PWD" >> $GITHUB_ENV
sudo apt install libgmp-dev patchelf
python -m pip install --upgrade pip wheel
make init install_devel
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ jobs:
- name: Install dependencies
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH
echo "PYTHONPATH=$PWD" >> $GITHUB_ENV
sudo apt install libgmp-dev patchelf
python -m pip install --upgrade pip wheel
make init install_devel
Expand Down Expand Up @@ -156,7 +155,6 @@ jobs:
- name: Install dependencies
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH
echo "PYTHONPATH=$PWD" >> $GITHUB_ENV
echo "HYPOTHESIS_PROFILE=ci" >> $GITHUB_ENV
sudo apt install graphviz libgmp-dev patchelf
python -m pip install --upgrade pip wheel
Expand Down Expand Up @@ -261,7 +259,6 @@ jobs:
- name: Install dependencies
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH
echo "PYTHONPATH=$PWD" >> $GITHUB_ENV
echo "HYPOTHESIS_PROFILE=ci" >> $GITHUB_ENV
sudo apt install graphviz libgmp-dev patchelf
python -m pip install --upgrade pip wheel
Expand Down Expand Up @@ -309,7 +306,6 @@ jobs:
- name: Install dependencies
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH
echo "PYTHONPATH=$PWD" >> $GITHUB_ENV
echo "HYPOTHESIS_PROFILE=ci" >> $GITHUB_ENV
sudo apt install graphviz libgmp-dev patchelf
python -m pip install --upgrade pip wheel
Expand Down Expand Up @@ -365,7 +361,6 @@ jobs:
- name: Install dependencies
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH
echo "PYTHONPATH=$PWD" >> $GITHUB_ENV
echo "HYPOTHESIS_PROFILE=ci" >> $GITHUB_ENV
sudo apt install graphviz libgmp-dev patchelf
python -m pip install --upgrade pip wheel
Expand Down Expand Up @@ -454,7 +449,6 @@ jobs:
- name: Install dependencies
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH
echo "PYTHONPATH=$PWD" >> $GITHUB_ENV
sudo apt install libgmp-dev patchelf
python -m pip install --upgrade pip wheel
make init install_devel
Expand Down Expand Up @@ -538,7 +532,6 @@ jobs:
- name: Install dependencies
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH
echo "PYTHONPATH=$PWD" >> $GITHUB_ENV
echo "HYPOTHESIS_PROFILE=ci" >> $GITHUB_ENV
sudo apt install graphviz libgmp-dev patchelf dnsmasq
python -m pip install --upgrade pip wheel
Expand Down Expand Up @@ -616,7 +609,6 @@ jobs:
- name: Install dependencies
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH
echo "PYTHONPATH=$PWD" >> $GITHUB_ENV
sudo apt install libgmp-dev patchelf
python -m pip install --upgrade pip wheel
make init install_devel
Expand Down Expand Up @@ -684,7 +676,6 @@ jobs:
- name: Install dependencies
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH
echo "PYTHONPATH=$PWD" >> $GITHUB_ENV
echo "HYPOTHESIS_PROFILE=ci" >> $GITHUB_ENV
sudo apt install graphviz libgmp-dev patchelf
python -m pip install --upgrade pip wheel
Expand Down Expand Up @@ -742,7 +733,6 @@ jobs:
- name: Install dependencies
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH
echo "PYTHONPATH=$PWD" >> $GITHUB_ENV
sudo apt install libgmp-dev patchelf
python -m pip install --upgrade pip wheel
make init install_devel
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ GNATPROVE_CACHE_DIR = $(subst file:,,$(GNATPROVE_CACHE))
endif

export GNATPROVE_CACHE := $(GNATPROVE_CACHE)
export PYTHONPATH := $(PWD)

# Switch to a specific revision of the git repository.
#
Expand Down

0 comments on commit dab4c1b

Please sign in to comment.