Update README.md
[www.martinvillalba.com.git] / bootstrap
blob8388289f89b56bd5ab949a1e756362ef6d3457fe
1 #!/bin/sh
2 # Take out the trash
3 echo "Taking out the trash..."
4 rm -rf virtualenv.py bootstrap.py bin develop-eggs eggs include lib parts .installed.cfg dist build downloads lib64
6 # Fetch bootstrap files
7 echo "Fetching bootstrap scripts..."
8 wget -q https://raw.github.com/pypa/virtualenv/develop/virtualenv.py
9 wget -q http://svn.zope.org/repos/main/zc.buildout/trunk/bootstrap/bootstrap.py
11 # Create and activate isolated Python environment
12 echo "Creating isolated Python environment..."
13 python virtualenv.py --no-site-packages --distribute --prompt=\[mvcom\] .
14 rm -f *.tar.*
15 source bin/activate
17 # Let zc.buildout do it's thing
18 echo "Initializing buildout..."
19 python bootstrap.py -d