Skip to content

Instantly share code, notes, and snippets.

@asbjornenge
Created August 2, 2022 12:18
Show Gist options
  • Save asbjornenge/f91c0866eed7b1b64a0ff23c418e3b4a to your computer and use it in GitHub Desktop.
Save asbjornenge/f91c0866eed7b1b64a0ff23c418e3b4a to your computer and use it in GitHub Desktop.
Init SmartPy virtualenv
#!/bin/bash
rm -Rf bin pyvenv.cfg
wget https://smartpy.io/cli/install.sh
chmod +x install.sh
./install.sh --prefix bin
rm install.sh
virtualenv .
cd bin && ln -sf SmartPy.sh spy && cd ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment