mirror of https://github.com/nucypher/nucypher.git
Dev install script
parent
5787546464
commit
63fa1c6740
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
PYTHON="python3.6"
|
||||
SOLC_VER="0.4.24"
|
||||
|
||||
python3 -m pipenv > /dev/null
|
||||
if [[ $? != 0 ]]
|
||||
then
|
||||
echo "Installing pipenv in user directory..."
|
||||
pip3 install --user pipenv
|
||||
fi
|
||||
|
||||
python3 -m pipenv install --python $PYTHON --dev
|
||||
wget "https://github.com/ethereum/solidity/releases/download/v${SOLC_VER}/solc-static-linux" -O "$(pipenv --venv)/bin/solc"
|
||||
chmod +x "$(pipenv --venv)/bin/solc"
|
||||
pipenv run pip3 install -e .
|
Loading…
Reference in New Issue