adding virtualenv and easy-installer

This commit is contained in:
James Tomasino 2019-07-30 22:54:52 +00:00
parent 7a09732a2b
commit 7d9f686d00
2 changed files with 11 additions and 0 deletions

11
activate Normal file
View File

@ -0,0 +1,11 @@
[ -n "$BASH_SOURCE" ] \
|| { echo 1>&2 "source (.) this with Bash."; exit 2; }
(
cd "$(dirname "$BASH_SOURCE")"
[ -d .build/virtualenv ] || {
virtualenv .build/virtualenv
. .build/virtualenv/bin/activate
pip install -r requirements.txt
}
)
. "$(dirname "$BASH_SOURCE")/.build/virtualenv/bin/activate"

0
requirements.txt Normal file
View File