Detect unsuccessful attempts at running an uninstalled pysize
[pysize.git] / bin / pysize
blob2687cced2daf9264d1c09bc3310506fa8ec99eff
1 #!/usr/bin/env python
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()