##// END OF EJS Templates
Simple change to add svn revision info at the top level and crash handler....
fperez -
Show More
@@ -1,7 +1,7 b''
1 # -*- coding: utf-8 -*-
1 # -*- coding: utf-8 -*-
2 """sys.excepthook for IPython itself, leaves a detailed report on disk.
2 """sys.excepthook for IPython itself, leaves a detailed report on disk.
3
3
4 $Id: CrashHandler.py 410 2004-11-04 07:58:17Z fperez $"""
4 $Id: CrashHandler.py 775 2005-09-01 20:24:59Z fperez $"""
5
5
6 #*****************************************************************************
6 #*****************************************************************************
7 # Copyright (C) 2001-2004 Fernando Perez. <fperez@colorado.edu>
7 # Copyright (C) 2001-2004 Fernando Perez. <fperez@colorado.edu>
@@ -11,9 +11,9 b' $Id: CrashHandler.py 410 2004-11-04 07:58:17Z fperez $"""'
11 #*****************************************************************************
11 #*****************************************************************************
12
12
13 from IPython import Release
13 from IPython import Release
14 __author__ = '%s <%s>' % Release.authors['Fernando']
14 __author__ = '%s <%s>' % Release.authors['Fernando']
15 __license__ = Release.license
15 __license__ = Release.license
16 __version__ = Release.version
16 __version__ = Release.version
17
17
18 #****************************************************************************
18 #****************************************************************************
19 # Required modules
19 # Required modules
@@ -92,7 +92,8 b" http://www.scipy.net/roundup/ipython (IPython's online bug tracker)."
92
92
93 sec_sep = '\n\n'+'*'*75+'\n\n'
93 sec_sep = '\n\n'+'*'*75+'\n\n'
94 report.write('*'*75+'\n\n'+'IPython post-mortem report\n\n')
94 report.write('*'*75+'\n\n'+'IPython post-mortem report\n\n')
95 report.write('IPython version: %s \n\n' % __version__)
95 report.write('IPython version: %s \n\n' % Release.version)
96 report.write('SVN revision : %s \n\n' % Release.revision)
96 report.write('Platform info : os.name -> %s, sys.platform -> %s' %
97 report.write('Platform info : os.name -> %s, sys.platform -> %s' %
97 (os.name,sys.platform) )
98 (os.name,sys.platform) )
98 report.write(sec_sep+'Current user configuration structure:\n\n')
99 report.write(sec_sep+'Current user configuration structure:\n\n')
@@ -1,7 +1,7 b''
1 # -*- coding: utf-8 -*-
1 # -*- coding: utf-8 -*-
2 """Release data for the IPython project.
2 """Release data for the IPython project.
3
3
4 $Id: Release.py 750 2005-08-24 17:36:16Z fperez $"""
4 $Id: Release.py 775 2005-09-01 20:24:59Z fperez $"""
5
5
6 #*****************************************************************************
6 #*****************************************************************************
7 # Copyright (C) 2001-2005 Fernando Perez <fperez@colorado.edu>
7 # Copyright (C) 2001-2005 Fernando Perez <fperez@colorado.edu>
@@ -24,6 +24,8 b" name = 'ipython'"
24
24
25 version = '0.6.16.svn'
25 version = '0.6.16.svn'
26
26
27 revision = '$Revision: 775 $'
28
27 description = "An enhanced interactive Python shell."
29 description = "An enhanced interactive Python shell."
28
30
29 long_description = \
31 long_description = \
@@ -27,7 +27,7 b' IPython tries to:'
27
27
28 IPython requires Python 2.2 or newer.
28 IPython requires Python 2.2 or newer.
29
29
30 $Id: __init__.py 530 2005-03-02 07:11:15Z fperez $"""
30 $Id: __init__.py 775 2005-09-01 20:24:59Z fperez $"""
31
31
32 #*****************************************************************************
32 #*****************************************************************************
33 # Copyright (C) 2001-2004 Fernando Perez. <fperez@colorado.edu>
33 # Copyright (C) 2001-2004 Fernando Perez. <fperez@colorado.edu>
@@ -53,11 +53,12 b' for name in __all__:'
53
53
54 # Release data
54 # Release data
55 from IPython import Release # do it explicitly so pydoc can see it - pydoc bug
55 from IPython import Release # do it explicitly so pydoc can see it - pydoc bug
56 __author__ = '%s <%s>\n%s <%s>\n%s <%s>' % \
56 __author__ = '%s <%s>\n%s <%s>\n%s <%s>' % \
57 ( Release.authors['Fernando'] + Release.authors['Janko'] + \
57 ( Release.authors['Fernando'] + Release.authors['Janko'] + \
58 Release.authors['Nathan'] )
58 Release.authors['Nathan'] )
59 __license__ = Release.license
59 __license__ = Release.license
60 __version__ = Release.version
60 __version__ = Release.version
61 __revision__ = Release.revision
61
62
62 # Namespace cleanup
63 # Namespace cleanup
63 del name,glob,loc
64 del name,glob,loc
General Comments 0
You need to be logged in to leave comments. Login now