Mercurial > hg > config
comparison python/install_config.py @ 50:abe2508386ac
link to virtualenv.py
| author | Jeff Hammel <k0scist@gmail.com> |
|---|---|
| date | Sun, 28 Mar 2010 15:38:39 -0400 |
| parents | 3d0ec6eb83fb |
| children | 1aacc851332b |
comparison
equal
deleted
inserted
replaced
| 49:512ceeb0ec90 | 50:abe2508386ac |
|---|---|
| 16 | 16 |
| 17 commands = [ ['hg', 'init'], | 17 commands = [ ['hg', 'init'], |
| 18 ['hg', 'pull', SRC], | 18 ['hg', 'pull', SRC], |
| 19 ['hg', 'update', '-C'], | 19 ['hg', 'update', '-C'], |
| 20 ['hg', 'clone', 'http://bitbucket.org/ianb/virtualenv'], | 20 ['hg', 'clone', 'http://bitbucket.org/ianb/virtualenv'], |
| 21 ['ln' '-s', HOME + '/virtualenv/virtualenv.py', HOME + '/bin/'], | |
| 21 | 22 |
| 22 # site-specific files | 23 # site-specific files |
| 23 ['mkdir', '-p', '.subversion'], | 24 ['mkdir', '-p', '.subversion'], |
| 24 ['rm', '-f', '.subversion/config'], | 25 ['rm', '-f', '.subversion/config'], |
| 25 ['ln', '-s', os.path.join(HOME, '.subversion_config/config'), os.path.join(HOME, '.subversion/config')], | 26 ['ln', '-s', os.path.join(HOME, '.subversion_config/config'), os.path.join(HOME, '.subversion/config')], |
| 53 postinstall_commands = [ ['ln', '-s', os.path.join(HOME, 'smartopen', 'bin', 'smartopen'), os.path.join(HOME, 'bin', 'smartopen') ], | 54 postinstall_commands = [ ['ln', '-s', os.path.join(HOME, 'smartopen', 'bin', 'smartopen'), os.path.join(HOME, 'bin', 'smartopen') ], |
| 54 ] | 55 ] |
| 55 execute(*postinstall_commands) | 56 execute(*postinstall_commands) |
| 56 | 57 |
| 57 | 58 |
| 58 | |
| 59 # TODO: | |
| 60 # - ubuntu packages to install: | 59 # - ubuntu packages to install: |
| 61 PACKAGES="unison fluxbox antiword xclip" | 60 PACKAGES="unison fluxbox antiword xclip" |
| 62 print "Ensure the following packages are installed:" | 61 print "Ensure the following packages are installed:" |
| 63 print "sudo apt-get install $PACKAGES" | 62 print "sudo apt-get install $PACKAGES" |
