Uh oh!
There was an error while loading. Please reload this page.
forked from russery/python-ant
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootstrap
More file actions
Latest commit
23 lines (18 loc) · 799 Bytes
/
Copy pathbootstrap
File metadata and controls
23 lines (18 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
# Take out the trash
echo"Taking out the trash..."
rm -rf virtualenv.py bootstrap.py bin develop-eggs eggs include lib parts .installed.cfg dist build downloads lib64 src/ant.egg-info docs/build docs/source/.buildinfo src/.coverage
# Fetch bootstrap files
echo"Fetching bootstrap scripts..."
wget -q https://raw.github.com/pypa/virtualenv/develop/virtualenv.py
wget -q http://svn.zope.org/repos/main/zc.buildout/trunk/bootstrap/bootstrap.py
# Create and activate isolated Python environment
echo"Creating isolated Python environment..."
python virtualenv.py --no-site-packages --distribute --prompt=\[ant\].
rm -f *.tar.*
source bin/activate
# Let zc.buildout do it's thing
echo"Initializing buildout..."
python bootstrap.py -d
# Done
echo"All done. Go ahead and run buildout."