##// END OF EJS Templates
Minor change so that ipython starts correctly even if called via 'python...
fperez -
Show More
@@ -6,7 +6,7 b' Requires Python 2.1 or better.'
6
6
7 This file contains the main make_IPython() starter function.
7 This file contains the main make_IPython() starter function.
8
8
9 $Id: ipmaker.py 2036 2007-01-27 07:30:22Z fperez $"""
9 $Id: ipmaker.py 2093 2007-02-09 21:28:58Z fperez $"""
10
10
11 #*****************************************************************************
11 #*****************************************************************************
12 # Copyright (C) 2001-2006 Fernando Perez. <fperez@colorado.edu>
12 # Copyright (C) 2001-2006 Fernando Perez. <fperez@colorado.edu>
@@ -20,17 +20,22 b" __author__ = '%s <%s>' % Release.authors['Fernando']"
20 __license__ = Release.license
20 __license__ = Release.license
21 __version__ = Release.version
21 __version__ = Release.version
22
22
23 credits._Printer__data = """
23 try:
24 Python: %s
24 credits._Printer__data = """
25 Python: %s
25
26
26 IPython: Fernando Perez, Janko Hauser, Nathan Gray, and many users.
27 IPython: Fernando Perez, Janko Hauser, Nathan Gray, and many users.
27 See http://ipython.scipy.org for more information.""" \
28 See http://ipython.scipy.org for more information.""" \
28 % credits._Printer__data
29 % credits._Printer__data
29
30
30 copyright._Printer__data += """
31 copyright._Printer__data += """
31
32
32 Copyright (c) 2001-2004 Fernando Perez, Janko Hauser, Nathan Gray.
33 Copyright (c) 2001-2004 Fernando Perez, Janko Hauser, Nathan Gray.
33 All Rights Reserved."""
34 All Rights Reserved."""
35 except NameError:
36 # Can happen if ipython was started with 'python -S', so that site.py is
37 # not loaded
38 pass
34
39
35 #****************************************************************************
40 #****************************************************************************
36 # Required modules
41 # Required modules
General Comments 0
You need to be logged in to leave comments. Login now