repo.or.cz
/
pysize.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Detect unsuccessful attempts at running an uninstalled pysize
[pysize.git]
/
bin
/
pysize
blob
2687cced2daf9264d1c09bc3310506fa8ec99eff
1
#!/usr/bin/env python
2
3
try
:
4
from
pysize
.
main
import
main
5
except
ImportError
,
e
:
6
print
e
7
print
'To run an uninstalled copy of pysize,'
8
print
'launch pysize.py in the top directory'
9
else
:
10
main
()