changeset 128:b0cd58f89c3f

quickinstall: first do the static stuff, so pip/setup.py failures are better visible. install babel before trying to install moin.
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 19 Mar 2011 14:30:36 +0100
parents 4408881ee6e3
children 2f7c87352b99
files quickinstall
diffstat 1 files changed, 11 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/quickinstall	Mon Mar 14 18:49:12 2011 +0100
+++ b/quickinstall	Sat Mar 19 14:30:36 2011 +0100
@@ -2,14 +2,10 @@
 # create a virtual environment in directory env/
 virtualenv --no-site-packages env
 source env/bin/activate
-# "install" moin2 from repo to the env, this will also install
-# required python packages from pypi.
-pip install -e .
-# compile the translations
-python setup.py compile_catalog --statistics
 
 # get some 3rd party stuff and unpack them into env/, where the default
 # wikiconfig.py expects them. should be replaced by packaging.
+# we do this FIRST, so that breakage with pip install is better visible.
 
 URL=http://download.cksource.com/CKEditor/CKEditor/CKEditor%203.5/ckeditor_3.5.tar.gz
 wget -nc -O env/ckeditor.tgz $URL
@@ -39,3 +35,13 @@
 ln -s "$DIR" AnyWikiDraw
 cd ..
 
+# first install babel, moin's setup.py will emit a warning if it is not there
+pip install babel
+
+# "install" moin2 from repo to the env, this will also install required python
+# packages from pypi. we do this LAST, so that breakage is better visible.
+pip install -e .
+
+# compile the translations
+python setup.py compile_catalog --statistics
+