From 8ed5dae540f9d78bbfda63f0e0f03c0e1fd6205c Mon Sep 17 00:00:00 2001 From: Jeremy Schulman Date: Fri, 30 Dec 2016 12:45:41 -0500 Subject: [PATCH] updates --- devsetup.env | 25 ------------------------- requirements.txt | 1 + 2 files changed, 1 insertion(+), 25 deletions(-) delete mode 100755 devsetup.env create mode 100644 requirements.txt diff --git a/devsetup.env b/devsetup.env deleted file mode 100755 index 51c10a8..0000000 --- a/devsetup.env +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash -# usage: source env-setup - -# When run using source as directed, $0 gets set to bash, so we must use $BASH_SOURCE -if [ -n "$BASH_SOURCE" ] ; then - HACKING_DIR=`dirname $BASH_SOURCE` -elif [ $(basename $0) = "devsetup.env" ]; then - HACKING_DIR=`dirname $0` -else - HACKING_DIR="$PWD" -fi - -# The below is an alternative to readlink -fn which doesn't exist on OS X -# Source: http://stackoverflow.com/a/1678636 -FULL_PATH=`python -c "import os; print(os.path.realpath('$HACKING_DIR'))"` -PRJ_LIBRARY="$FULL_PATH/library" - -# we are going to set the ANSIBLE_LIBRARY path, which also needs to include -# the installed library; so check to see if that is setup or not. - -if [ -z "$ANSIBLE_LIBRARY" ]; then - export ANSIBLE_LIBRARY=$(grep library /etc/ansible/ansible.cfg | awk '{ /(.*) = (.*)/; print $3 }') -fi - -[[ $ANSIBLE_LIBRARY != ${PRJ_LIBRARY}* ]] && export ANSIBLE_LIBRARY=$PRJ_LIBRARY:$ANSIBLE_LIBRARY diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..61fcfd5 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +aos-pyez>=0.5.0