Mercurial > hg > configuration
comparison INSTALL.py @ 135:77dc5a0678c4
update link
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sat, 26 Apr 2014 09:49:22 -0700 |
parents | b3023ba3c9ca |
children |
comparison
equal
deleted
inserted
replaced
134:591701680deb | 135:77dc5a0678c4 |
---|---|
9 import sys | 9 import sys |
10 import urllib2 | 10 import urllib2 |
11 import subprocess | 11 import subprocess |
12 try: | 12 try: |
13 from subprocess import check_call as call | 13 from subprocess import check_call as call |
14 except: | 14 except ImportError: |
15 from subprocess import call | 15 from subprocess import call |
16 | 16 |
17 REPO='http://k0s.org/mozilla/hg/configuration' | 17 REPO='http://k0s.org/hg/configuration' |
18 DEST='configuration' # name of the virtualenv | 18 DEST='configuration' # name of the virtualenv |
19 VIRTUALENV='https://raw.github.com/pypa/virtualenv/develop/virtualenv.py' | 19 VIRTUALENV='https://raw.github.com/pypa/virtualenv/develop/virtualenv.py' |
20 | 20 |
21 def which(binary, path=os.environ['PATH']): | 21 def which(binary, path=os.environ['PATH']): |
22 dirs = path.split(os.pathsep) | 22 dirs = path.split(os.pathsep) |