update makefile to use correct python version

This commit is contained in:
Alex Stokes 2021-08-25 11:15:27 -07:00
parent 0da1fe947d
commit a6f8870e18
No known key found for this signature in database
GPG Key ID: 99B3D88FD6C55A69
1 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
all: all:
if ! test -d venv; then python3 -m venv venv; fi; if ! test -d venv; then python3 -m venv venv; fi;
. ./venv/bin/activate . ./venv/bin/activate
pip install -r requirements.txt pip3 install -r requirements.txt
rm -f ../../core/pyspec/eth2spec/test/phase0/random/test_random.py rm -f ../../core/pyspec/eth2spec/test/phase0/random/test_random.py
rm -f ../../core/pyspec/eth2spec/test/altair/random/test_random.py rm -f ../../core/pyspec/eth2spec/test/altair/random/test_random.py
python generate.py phase0 > ../../core/pyspec/eth2spec/test/phase0/random/test_random.py python3 generate.py phase0 > ../../core/pyspec/eth2spec/test/phase0/random/test_random.py
python generate.py altair > ../../core/pyspec/eth2spec/test/altair/random/test_random.py python3 generate.py altair > ../../core/pyspec/eth2spec/test/altair/random/test_random.py