##// END OF EJS Templates
Fixing a nasty bug in test_frontend.py that was leading to all sorts...
Fixing a nasty bug in test_frontend.py that was leading to all sorts of weird problems with our test suite like random test errors and unhandled errors in Deferreds. There are 3 problems with this test module: 1. Doesn't use twisted.trial.unittest.TestCase as a base class 2. Test methods don't return Deferreds 3. One test method actually has an unhandled error in a Deferred The only thing I have don't is put a @skip decorator on test_error_callback_added_to_execute to hide 3. All of these things still need to be fixed though. But our tests now pass.

File last commit:

r1311:7766a2dc
r1614:9dcfcfc5
Show More
setup.py
34 lines | 923 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 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']
)),
)