##// 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
# encoding: utf-8
"""
setup.py
Setuptools installer script for generating a Cocoa plugin for the
IPython cocoa frontend
Author: Barry Wark
"""
__docformat__ = "restructuredtext en"
#-----------------------------------------------------------------------------
# Copyright (C) 2008-2011 The IPython Development Team
#
# 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(
CFBundleDevelopmentRegion='English',
CFBundleIdentifier='org.scipy.ipython.cocoa_frontend',
NSPrincipalClass='IPythonCocoaController',
)
setup(
plugin=['IPythonCocoaFrontendLoader.py'],
setup_requires=['py2app'],
options=dict(py2app=dict(
plist=infoPlist,
site_packages=True,
excludes=['IPython','twisted','PyObjCTools']
)),
)