summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorBruno Wagner Goncalves <bwagner@thoughtworks.com>2014-08-18 20:45:03 -0300
committerBruno Wagner Goncalves <bwagner@thoughtworks.com>2014-08-18 20:45:03 -0300
commit1cd9879175c6316cd723a30ba1670c71467a6242 (patch)
tree6c3edd3b42867c804a0f65a799fc17dc31fa5b17 /package
parent2c6fe6e4cca9c39287c0c9a88079a60078711e97 (diff)
Update setup tools and pip before packaging
Diffstat (limited to 'package')
-rwxr-xr-xpackage/package_user_agent.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/package_user_agent.sh b/package/package_user_agent.sh
index 31f78227..ee6b34fc 100755
--- a/package/package_user_agent.sh
+++ b/package/package_user_agent.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-set -x
+set -x
PACKAGE_VERSION="$1"
BUILD_PATH=/tmp/pix-user-agent-build
@@ -20,7 +20,7 @@ mkdir -p $PIXELATED_WEB_LIB_PATH
mkdir -p $BUILD_PATH
# build web-ui code
-cd web-ui
+cd web-ui
bundle install --path=~/pixelated-gems
npm install
node_modules/bower/bin/bower install
@@ -34,6 +34,8 @@ cp -rf web-ui/dist/* $PIXELATED_WEB_LIB_PATH
# build virtual env
virtualenv $PIXELATED_VIRTUALENV_PATH
. $PIXELATED_VIRTUALENV_PATH/bin/activate
+pip install --upgrade pip
+pip install --upgrade setuptools
easy_install leap.soledad.common
pip install -r service/requirements.txt
deactivate