##// END OF EJS Templates
use Popen instead of getstatusoutput to check for libedit....
use Popen instead of getstatusoutput to check for libedit. getstatusoutput uses os.popen, and is vulnerable to EINTR weirdness in environments such as gdb or PyQt. Exponential falloff is also used, to prevent waiting forever or firing requests too fast, though I haven't had it fire more than once after moving to Popen. closes gh-473

File last commit:

r2661:595fc3b9
r3906:cf26ce8a
Show More
setup.py
34 lines | 1007 B | text/x-python | PythonLexer
Barry Wark <barrywarkatgmaildotcom>
py2app plugin for Cocoa frontend
r1302 # 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 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(
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 )