Commit 4be3d87e authored by Kenneth Reitz's avatar Kenneth Reitz

If no requirements, assume 'setup.py install'

parent 5ffe9203
......@@ -81,6 +81,12 @@ source $BIN_DIR/steps/pylibmc
echo "-----> Activating virtualenv"
source bin/activate
# If no requirements, assume 'setup.py install'
if [ ! -f requirements.txt ]; then
echo "." > requirements.txt
fi
# Install mercurial, if needed.
if (grep -Fiq "hg+" requirements.txt) then
pip install --use-mirrors mercurial | indent
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment