-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit fa53f89
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
DOWNLOAD_CACHE=${PIP_DOWNLOAD_CACHE:-"/tmp/downloads/pip"} | ||
mkdir -p $DOWNLOAD_CACHE | ||
sudo chmod 777 $DOWNLOAD_CACHE | ||
|
||
# When installing on a prod server the virtualenv exe will be in the | ||
# non default python install. Check the env var so we can reference it | ||
# directly. | ||
VIRTUALENV_PATH=${VIRTUALENV_PATH:-"virtualenv"} | ||
$VIRTUALENV_PATH --no-site-packages --distribute .dev-env | ||
|
||
# important that we use easy_install to install readline | ||
# otherwise ipython will not pick it up inside the env. | ||
.dev-env/bin/easy_install readline | ||
|
||
.dev-env/bin/pip install --download-cache=$DOWNLOAD_CACHE -r requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
tornado>=2.2.1 | ||
pycassa>=1.6.0 | ||
Mako>=0.7.0 |