Skip to content

Instantly share code, notes, and snippets.

View aatchison's full-sized avatar

Arron Atchison aatchison

  • Autodesk
  • San Francisco, CA
View GitHub Profile
package main
import (
"bytes"
"fmt"
"io"
"log"
"os"
"os/exec"
)
#!/usr/bin/env bash
set -Ee
TOP=$(cd $(dirname $0)/.. && pwd -L)
VIRTUALENV_ROOT=${VIRTUALENV_ROOT:-"${HOME}/.virtualenvs/mycroft"}
MYCROFT_CORE_SRC=${TOP}/src/mycroft-core
if [ "$1" = "-q" ]; then
QUIET="echo"
@aatchison
aatchison / gist:6356a9773e3bbd0c426eebabf34de1c1
Created January 15, 2017 18:35
Mycroft packaging sample with relocatable virtualenv and python bdists
#!/usr/bin/env bash
set -Ee
TOP=$(cd $(dirname $0)/.. && pwd -L)
VIRTUALENV_ROOT=${VIRTUALENV_ROOT:-"${HOME}/.virtualenvs/mycroft"}
MYCROFT_CORE_SRC=${TOP}/src/mycroft-core
if [ "$1" = "-q" ]; then
QUIET="echo"

Keybase proof

I hereby claim:

  • I am aatchison on github.
  • I am aatchison (https://keybase.io/aatchison) on keybase.
  • I have a public key whose fingerprint is 4874 E823 F124 43ED 070D 3345 9391 6D72 6465 74F9

To claim this, I am signing this object: