1. Woojong Koh
  2. dotfiles

Source

dotfiles / bin / install_distribute.py

1
2
3
4
5
6
7
8
#!/usr/bin/env python
import urllib

if __name__ == '__main__':
    #curl -O http://python-distribute.org/distribute_setup.py
    filename, _ = urllib.urlretrieve('http://python-distribute.org/distribute_setup.py')
    #sudo python distribute_setup.py
    execfile(filename)