Merge branch 'master' of github.com:paultag/hy

This commit is contained in:
Thom Neale 2012-12-29 16:33:00 -05:00
commit 3662ab1e7b
2 changed files with 9 additions and 2 deletions

View File

@ -3,7 +3,9 @@
from hy.lang.importer import _hy_import_file
from code import InteractiveConsole
import traceback
import sys
try:
import readline
except ImportError:
@ -11,7 +13,12 @@ except ImportError:
if len(sys.argv) > 1:
sys.argv = sys.argv[1:]
mod = _hy_import_file(sys.argv[0], '__main__')
try:
mod = _hy_import_file(sys.argv[0], '__main__')
except Exception as e:
exc_type, exc_value, exc_traceback = sys.exc_info()
ntb = exc_traceback.tb_next.tb_next.tb_next # YUCK.
raise type(e), None, ntb
sys.exit(0)

View File

@ -7,7 +7,7 @@ things with other things until things looks like other
things. """
appname = "hy"
version = "0.6.0"
version = "0.7.0"
setup(**{
"name": appname,