##// END OF EJS Templates
Merge pull request #1399 from asmeurer/sympyprinting...
Merge pull request #1399 from asmeurer/sympyprinting Use LaTeX to display, on output, various built-in types with the SymPy printing extension. SymPy's latex() function supports printing lists, tuples, and dicts using latex notation (it uses bmatrix, pmatrix, and Bmatrix, respectively). This provides a more unified experience with SymPy functions that return these types (such as solve()). Also display ints, longs, and floats using LaTeX, to get a more unified printing experience (so that, e.g., x/x will print the same as just 1). The string form can always be obtained by manually calling the actual print function, or 2d unicode printing using pprint(). SymPy's latex() function doesn't treat set() or frosenset() correctly presently (see http://code.google.com/p/sympy/issues /detail?id=3062), so for the present, we leave those alone.

File last commit:

r5390:c82649ea
r6482:ba882bf7 merge
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 )