Parent: [6a4af9] (diff)

Child: [6f88ab] (diff)

Download this file

setup-common.bash    124 lines (102 with data), 2.5 kB

  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
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
#!/bin/bash
#
# Install everything (python) into a virtual environment.
# Important in sandboxes to force Python 2.6. Important
# locally to keep base installs clean.
#
echo '# installing base tools'
sudo easy_install-2.6 -U setuptools
echo
echo '# setting up a virtual environment'
sudo easy_install-2.6 -U virtualenv
virtualenv --no-site-packages sandbox-env
. sandbox-env/bin/activate
# from here on, everything is using Python2.6 from sandbox-env
echo
echo '# installing turbogears'
easy_install ipython
easy_install -UZ -i http://www.turbogears.org/2.1/downloads/2.1b1/index turbogears2==2.1b1
easy_install -UZ -i http://www.turbogears.org/2.1/downloads/2.1b1/index tg.devtools==2.1b1
easy_install beautifulsoup
easy_install mercurial
easy_install python-dateutil
#
# Install _our_ code.
#
# echo
# echo '# cloning forge repo'
# git clone ssh://gitosis@engr.geek.net/forge
# cd forge
#
# This already happened just to get this file to run;
# now assume we run it in-place.
echo '# installing turbogears dev head'
pushd ..
hg clone http://bitbucket.org/turbogears/tg-dev/ tg-dev
cd tg-dev
python setup.py develop
popd
echo '# installing pymongo and dependencies'
pushd ..
git clone git://github.com/rick446/mongo-python-driver.git pymongo
cd pymongo
python setup.py develop
popd
echo '# installing Ming and dependencies'
pushd ..
git clone git://merciless.git.sourceforge.net/gitroot/merciless/merciless Ming
cd Ming
python setup.py develop
popd
echo '# installing EasyWidgets and dependencies'
pushd ..
hg clone http://bitbucket.org/rick446/easywidgets/ easywidgets
cd easywidgets
python setup.py develop
popd
echo
echo '# creating data directory for mongo'
mkdir -p /data/db
#
# Install all our (formal) dependencies.
#
echo
echo '# installing our nose plugin'
pushd NoWarnings
python setup.py develop
popd
echo
echo '# installing pyforge dependencies'
pushd pyforge
python setup.py develop
popd
echo
echo '# installing ForgeForum dependencies'
pushd ForgeForum
python setup.py develop
popd
echo
echo '# installing ForgeMail dependencies'
pushd ForgeMail
python setup.py develop
popd
echo
echo '# installing ForgeSCM dependencies'
pushd ForgeSCM
python setup.py develop
popd
echo
echo '# installing ForgeTracker dependencies'
pushd ForgeTracker
python setup.py develop
popd
echo
echo '# installing ForgeWiki dependencies'
pushd ForgeWiki
python setup.py develop
popd
echo
echo '# installing HelloForge dependencies'
pushd HelloForge
python setup.py develop
popd