forked from brandon-rhodes/sphinx-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
thumbdrive-setup.sh
executable file
·58 lines (41 loc) · 1.48 KB
/
thumbdrive-setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/bin/bash
set -e
mkdir -p usb
cd usb
mkdir -p Mac
mkdir -p Windows
cd Mac
wget -c http://www.python.org/ftp/python/2.7.3/python-2.7.3-macosx10.6.dmg
wget -c http://www.python.org/ftp/python/2.7.3/python-2.7.3-macosx10.3.dmg
cd ..
cd Windows
wget -c http://www.python.org/ftp/python/2.7.3/python-2.7.3.msi
cd ..
mkdir -p packages
cd packages
wget -c http://pypi.python.org/packages/2.6/S/Sphinx/Sphinx-1.1.3-py2.6.egg
wget -c http://pypi.python.org/packages/2.7/S/Sphinx/Sphinx-1.1.3-py2.7.egg
wget -c http://pypi.python.org/packages/source/S/Sphinx/Sphinx-1.1.3.tar.gz
wget -c http://pypi.python.org/packages/source/P/Pygments/Pygments-1.6.tar.gz
wget -c http://pypi.python.org/packages/2.7/P/Pygments/Pygments-1.6-py2.7.egg
wget -c http://pypi.python.org/packages/2.6/P/Pygments/Pygments-1.6-py2.6.egg
wget -c https://pypi.python.org/packages/source/J/Jinja2/Jinja2-2.6.tar.gz
wget -c https://pypi.python.org/packages/source/d/docutils/docutils-0.10.tar.gz
wget -c http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.9.1.tar.gz
tar xvfz virtualenv-1.9.1.tar.gz
cd virtualenv-1.9.1
cp virtualenv.py ..
cp -r virtualenv_support ..
cd ..
rm -rf virtualenv-1.9.1
cd ..
cd Sphinx-Tutorial
if [ ! -d triangle-project ]
then
mkdir triangle-project
fi
cp -r ../../triangle-project/setup.py triangle-project
cp -r ../../triangle-project/trianglelib triangle-project
cp -r ../../triangle-project/texts triangle-project
find triangle-project -name '*.pyc' | xargs rm
echo Done building!