Skip to content

Instantly share code, notes, and snippets.

@chnrxn
Created March 2, 2015 11:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chnrxn/52bb56845e367db0658e to your computer and use it in GitHub Desktop.
Save chnrxn/52bb56845e367db0658e to your computer and use it in GitHub Desktop.
ARCHIVEURL='https://github.com/_org_/_repo_/archive/master.tar.gz'
BASEDIR=pysetup-master
mkdir -p ${BASEDIR}
{
pushd ${BASEDIR} && {
curl -ksL ${ARCHIVEURL} | tar zxf - --strip-components 1
} && popd
make -f ${BASEDIR}/makefile
echo "export PIP_CERT=`pwd`/${BASEDIR}/digicert-ev.pem" >> penv/bin/activate
} 3>&1 >&2
echo "source penv/bin/activate" >&3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment