Skip to content

Commit

Permalink
writing out requirements so readthedocs can install in virtualenv
Browse files Browse the repository at this point in the history
  • Loading branch information
damouse committed Jun 22, 2015
1 parent b4e64e3 commit 2dcde53
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Flask==0.10.1
itsdangerous==0.24
Jinja2==2.7.3
MarkupSafe==0.23
Werkzeug==0.10.4
wheel==0.24.0
5 changes: 4 additions & 1 deletion pdbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ build() {
#we don't want to bundle pex (for size reasons) and paradrop (since pex needs a little help in
# finding the package thats out of the scope of this script)
echo -e "${COLOR}Building dependencies" && tput sgr0
pex -r <(pip freeze | grep -v 'pex' | grep -v 'paradrop') -o bin/pddependancies.pex

#also-- we can get away without saving the requirements just fine, but readthedocs needs them
pip freeze | grep -v 'pex' | grep -v 'paradrop' > docs/requirements.txt
pex -r docs/requirements.txt -o bin/pddependancies.pex
}

clean() {
Expand Down

0 comments on commit 2dcde53

Please sign in to comment.