Last active
February 18, 2018 20:09
-
-
Save michaelsproul/af6ece20e47e5dc2cf5ea7a05dbc0f73 to your computer and use it in GitHub Desktop.
Populus and Vyper setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ethereum==1.6.1 | |
eth-utils==0.7.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Run this in a clean virtualenv | |
# Make sure constraints.txt is in the same directory as this script | |
set -o errexit | |
populus_repo="https://github.com/ethereum/populus.git" | |
vyper_repo="https://github.com/ethereum/vyper.git" | |
populus_commit="79ce7b18d34ff6bb744668ccd0a2869e8e50cea7" | |
vyper_commit="94da0d0536671013c1b000ffc60b883f47211d10" | |
mkdir -p deps | |
cd deps | |
echo "Installing Populus, commit: $populus_commit" | |
git clone "$populus_repo" | |
cd populus | |
git checkout "$populus_commit" | |
pip install -c ../../constraints.txt . | |
echo "Installing Vyper, commit: $vyper_commit" | |
cd .. | |
git clone "$vyper_repo" | |
cd vyper | |
git checkout "$vyper_commit" | |
pip install -c ../../constraints.txt . | |
echo "Holy shit maybe that worked?" | |
populus -h | |
vyper -h |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On Debian Stretch (9.3), I also needed:
in
constraints.txt
and at least these packages installed: