Mercurial > hg > FileServer
comparison INSTALL.py @ 20:1eb5e82605a5
* flush out README
* other minor fixes
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 29 Feb 2012 16:38:39 -0800 |
parents | c6e459be8534 |
children |
comparison
equal
deleted
inserted
replaced
19:c6e459be8534 | 20:1eb5e82605a5 |
---|---|
53 else: | 53 else: |
54 raise Exception("Python binary not found in %s" % DEST) | 54 raise Exception("Python binary not found in %s" % DEST) |
55 | 55 |
56 # find the clone | 56 # find the clone |
57 filename = REPO.rstrip('/') | 57 filename = REPO.rstrip('/') |
58 filename = REPO.split('/')[-1] | 58 filename = filename.split('/')[-1] |
59 clone = os.path.join(src, filename) | 59 clone = os.path.join(src, filename) |
60 assert os.path.exists(clone), "Clone directory not found in %s" % src | 60 assert os.path.exists(clone), "Clone directory not found in %s" % src |
61 | 61 |
62 # ensure setup.py exists | 62 # ensure setup.py exists |
63 assert os.path.exists(os.path.join(clone, 'setup.py')), 'setup.py not found in %s' % clone | 63 assert os.path.exists(os.path.join(clone, 'setup.py')), 'setup.py not found in %s' % clone |