update makefile to use correct python version
This commit is contained in:
parent
0da1fe947d
commit
a6f8870e18
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue