##// END OF EJS Templates
Backport PR #2102: Fix logging on interactive shell....
Backport PR #2102: Fix logging on interactive shell. Add a missing string format code in init_logs() and move init_logstart() after init_magics(), to fix dependency issues. This is a proposed fix for the case a log file is given in `ipython_config.py`, eg: ```python # Start logging to the given file in append mode. import os from time import strftime f = os.path.join(c.TerminalIPythonApp.ipython_dir, strftime('%Y-%m-%d')+".py") c.TerminalInteractiveShell.logappend = f ``` which completely breaks in current `master` code

File last commit:

r5390:c82649ea
r7990:a4d72683
Show More
setup.py
34 lines | 1011 B | text/x-python | PythonLexer
Barry Wark <barrywarkatgmaildotcom>
py2app plugin for Cocoa frontend
r1302 # encoding: utf-8
"""
setup.py
Bernardo B. Marques
remove all trailling spaces
r4872 Setuptools installer script for generating a Cocoa plugin for the
Barry Wark <barrywarkatgmaildotcom>
py2app plugin for Cocoa frontend
r1302 IPython cocoa frontend
Author: Barry Wark
"""
__docformat__ = "restructuredtext en"
#-----------------------------------------------------------------------------
Matthias BUSSONNIER
update copyright to 2011/20xx-2011...
r5390 # Copyright (C) 2008-2011 The IPython Development Team
Barry Wark <barrywarkatgmaildotcom>
py2app plugin for Cocoa frontend
r1302 #
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-----------------------------------------------------------------------------
from setuptools import setup
infoPlist = dict(
Fernando Perez
Cleanup check_sources and remove hard tabs from some files....
r2116 CFBundleDevelopmentRegion='English',
CFBundleIdentifier='org.scipy.ipython.cocoa_frontend',
NSPrincipalClass='IPythonCocoaController',
Barry Wark <barrywarkatgmaildotcom>
py2app plugin for Cocoa frontend
r1302 )
setup(
Fernando Perez
Cleanup check_sources and remove hard tabs from some files....
r2116 plugin=['IPythonCocoaFrontendLoader.py'],
Barry Wark <barrywarkatgmaildotcom>
py2app plugin for Cocoa frontend
r1302 setup_requires=['py2app'],
Fernando Perez
Cleanup check_sources and remove hard tabs from some files....
r2116 options=dict(py2app=dict(
plist=infoPlist,
site_packages=True,
excludes=['IPython','twisted','PyObjCTools']
)),
Barry Wark <barrywarkatgmaildotcom>
py2app plugin for Cocoa frontend
r1302 )