Skip to content

Instantly share code, notes, and snippets.

@olivier-m
olivier-m / pygit2.sh
Last active November 9, 2017 05:56
Install pygit2 in a Python VirtualEnv
#!/bin/sh
set -e
if [ "${VIRTUAL_ENV}" = "" ]; then
echo "Error: Not in a virtual env"
exit 1
fi
OS=$(uname -s)