##// END OF EJS Templates
support for unicode identifiers...
support for unicode identifiers This rewrites some of the regular expressions that are used to match Python identifiers, so that they are unicode compatible. In Python 3, identifiers can contain unicode characters as long as the first character is not numeric. Examples for the changes: • inputtransformer: ``` In [1]: π = 3.14 In [2]: π.is_integer? Object `is_integer` not found. ``` ---------- • namespace: ``` π.is_integ*? ``` or ``` In [1]: %psearch π.is_integ Python identifiers can only contain ascii characters. ``` ---------- • prefilter: ``` %autocall 1 φ = float get_ipython().prefilter("φ 3") # should be 'φ(3)', but returns 'φ 3' ``` ---------- • completerlib: If there is a file e.g. named `π.py` in the current directory, then ``` import IPython IPython.core.completerlib.module_list('.') # should contain module 'π' ```

File last commit:

r25478:44a51949
r25595:d9c0e690
Show More
release.py
119 lines | 4.2 KiB | text/x-python | PythonLexer
Ville M. Vainio
crlf -> lf
r1032 # -*- coding: utf-8 -*-
Fernando Perez
Small cleanups for release
r1700 """Release data for the IPython project."""
Ville M. Vainio
crlf -> lf
r1032
Fernando Perez
Complete support of git commit info with IPython.sys_info()....
r3204 #-----------------------------------------------------------------------------
Fernando Perez
Fix copyright date to omit end dates as per review.
r6660 # Copyright (c) 2008, IPython Development Team.
# Copyright (c) 2001, Fernando Perez <fernando.perez@colorado.edu>
Fernando Perez
Complete support of git commit info with IPython.sys_info()....
r3204 # Copyright (c) 2001, Janko Hauser <jhauser@zscout.de>
# Copyright (c) 2001, Nathaniel Gray <n8gray@caltech.edu>
Ville M. Vainio
crlf -> lf
r1032 #
Fernando Perez
Complete support of git commit info with IPython.sys_info()....
r3204 # Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------
Ville M. Vainio
crlf -> lf
r1032
# Name of the package for release purposes. This is the name which labels
# the tarballs and RPMs made by distutils, so it's best to lowercase it.
name = 'ipython'
Fernando Perez
Complete support of git commit info with IPython.sys_info()....
r3204 # IPython version information. An empty _version_extra corresponds to a full
# release. 'dev' as a _version_extra string means this is a development
# version
Matthias Bussonnier
Change version number to reflect that we're working toward a 8.x
r25478 _version_major = 8
_version_minor = 0
Matthias Bussonnier
back to dev
r25407 _version_patch = 0
Fernando Perez
Open 5.1.0 development line.
r22677 _version_extra = '.dev'
Matthias Bussonnier
back to development
r24597 # _version_extra = 'b1'
Matthias Bussonnier
back to dev
r25456 # _version_extra = '' # Uncomment this for full releases
Ville M. Vainio
crlf -> lf
r1032
Fernando Perez
Complete support of git commit info with IPython.sys_info()....
r3204 # Construct full version string from these.
MinRK
semantic-versionify version number for non-releases...
r11728 _ver = [_version_major, _version_minor, _version_patch]
Ville M. Vainio
crlf -> lf
r1032
MinRK
semantic-versionify version number for non-releases...
r11728 __version__ = '.'.join(map(str, _ver))
if _version_extra:
Matthias Bussonnier
Add release instructions for IPython....
r21986 __version__ = __version__ + _version_extra
Ville M. Vainio
crlf -> lf
r1032
Fernando Perez
Complete support of git commit info with IPython.sys_info()....
r3204 version = __version__ # backwards compatibility name
MinRK
semantic-versionify version number for non-releases...
r11728 version_info = (_version_major, _version_minor, _version_patch, _version_extra)
Ville M. Vainio
change version string for 0.8.3.rc1
r1196
Takafumi Arakaki
Move protocol_version to core.release
r9094 # Change this when incrementing the kernel protocol version
MinRK
updates per review...
r16665 kernel_protocol_version_info = (5, 0)
kernel_protocol_version = "%i.%i" % kernel_protocol_version_info
Takafumi Arakaki
Move protocol_version to core.release
r9094
Fernando Perez
Fix broken download URL for PyPI in setup call, minor readme updates.
r4459 description = "IPython: Productive Interactive Computing"
Ville M. Vainio
crlf -> lf
r1032
long_description = \
"""
Fernando Perez
Fix broken download URL for PyPI in setup call, minor readme updates.
r4459 IPython provides a rich toolkit to help you make the most out of using Python
interactively. Its main components are:
Ville M. Vainio
crlf -> lf
r1032
Thomas Kluyver
Update long description for PyPI...
r21562 * A powerful interactive Python shell
Matthias Bussonnier
Switch protocol to https...
r24425 * A `Jupyter <https://jupyter.org/>`_ kernel to work with Python code in Jupyter
Thomas Kluyver
Update long description for PyPI...
r21562 notebooks and other interactive frontends.
Ville M. Vainio
crlf -> lf
r1032
Fernando Perez
Fix broken download URL for PyPI in setup call, minor readme updates.
r4459 The enhanced interactive Python shells have the following main features:
Ville M. Vainio
crlf -> lf
r1032
Brian Granger
Updating the Release.py. Also fixed a typo in the docs.
r1716 * Comprehensive object introspection.
Ville M. Vainio
crlf -> lf
r1032
Brian Granger
Updating the Release.py. Also fixed a typo in the docs.
r1716 * Input history, persistent across sessions.
Ville M. Vainio
crlf -> lf
r1032
Brian Granger
Updating the Release.py. Also fixed a typo in the docs.
r1716 * Caching of output results during a session with automatically generated
references.
Ville M. Vainio
crlf -> lf
r1032
Fernando Perez
Update info for pypi.
r6607 * Extensible tab completion, with support by default for completion of python
variables and keywords, filenames and function keywords.
Ville M. Vainio
crlf -> lf
r1032
Brian Granger
Updating the Release.py. Also fixed a typo in the docs.
r1716 * Extensible system of 'magic' commands for controlling the environment and
performing many tasks related either to IPython or the operating system.
Ville M. Vainio
crlf -> lf
r1032
Fernando Perez
Update info for pypi.
r6607 * A rich configuration system with easy switching between different setups
(simpler than changing $PYTHONSTARTUP environment variables every time).
Ville M. Vainio
crlf -> lf
r1032
Brian Granger
Updating the Release.py. Also fixed a typo in the docs.
r1716 * Session logging and reloading.
Ville M. Vainio
crlf -> lf
r1032
Brian Granger
Updating the Release.py. Also fixed a typo in the docs.
r1716 * Extensible syntax processing for special purpose situations.
Ville M. Vainio
crlf -> lf
r1032
Brian Granger
Updating the Release.py. Also fixed a typo in the docs.
r1716 * Access to the system shell with user-extensible alias system.
Ville M. Vainio
crlf -> lf
r1032
Fernando Perez
Update info for pypi.
r6607 * Easily embeddable in other Python programs and GUIs.
Ville M. Vainio
crlf -> lf
r1032
Bernardo B. Marques
remove all trailling spaces
r4872 * Integrated access to the pdb debugger and the Python profiler.
Brian Granger
Updating the Release.py. Also fixed a typo in the docs.
r1716
Fernando Perez
Complete support of git commit info with IPython.sys_info()....
r3204 The latest development version is always available from IPython's `GitHub
site <http://github.com/ipython>`_.
Brian Granger
Updating the Release.py. Also fixed a typo in the docs.
r1716 """
Ville M. Vainio
crlf -> lf
r1032
license = 'BSD'
Fernando Perez
Update bug contact to my current email, set v to 0.10 in prep for release.
r2142 authors = {'Fernando' : ('Fernando Perez','fperez.net@gmail.com'),
Ville M. Vainio
crlf -> lf
r1032 'Janko' : ('Janko Hauser','jhauser@zscout.de'),
'Nathan' : ('Nathaniel Gray','n8gray@caltech.edu'),
Brian E Granger
Initial work towards refactoring the setup.py scripts to accept the new ipython1 packages...
r1237 'Ville' : ('Ville Vainio','vivainio@gmail.com'),
'Brian' : ('Brian E Granger', 'ellisonbg@gmail.com'),
Fernando Perez
Update info for pypi.
r6607 'Min' : ('Min Ragan-Kelley', 'benjaminrk@gmail.com'),
'Thomas' : ('Thomas A. Kluyver', 'takowl@gmail.com'),
Fernando Perez
Remove umlauts so py3 installations on LANG=C systems succeed....
r7786 'Jorgen' : ('Jorgen Stenarson', 'jorgen.stenarson@bostream.nu'),
MinRK
update authors dict
r7754 'Matthias' : ('Matthias Bussonnier', 'bussonniermatthias@gmail.com'),
Ville M. Vainio
crlf -> lf
r1032 }
Brian E Granger
Initial work towards refactoring the setup.py scripts to accept the new ipython1 packages...
r1237 author = 'The IPython Development Team'
Min RK
update author email...
r23516 author_email = 'ipython-dev@python.org'
Brian E Granger
Initial work towards refactoring the setup.py scripts to accept the new ipython1 packages...
r1237
Min RK
update author email...
r23516 url = 'https://ipython.org'
Ville M. Vainio
crlf -> lf
r1032
Matthias Bussonnier
Update package metadata
r22038 platforms = ['Linux','Mac OSX','Windows']
Ville M. Vainio
crlf -> lf
r1032
Matthias Bussonnier
Update package metadata
r22038 keywords = ['Interactive','Interpreter','Shell', 'Embedding']
Thomas Kluyver
Add Trove classifiers for PyPI.
r4771
classifiers = [
Thomas Kluyver
Update long description for PyPI...
r21562 'Framework :: IPython',
Thomas Kluyver
Add Trove classifiers for PyPI.
r4771 'Intended Audience :: Developers',
Fernando Perez
Fix classifiers - missing comma.
r5798 'Intended Audience :: Science/Research',
Thomas Kluyver
Add Trove classifiers for PyPI.
r4771 'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
Hugo
Update version classifiers
r24002 'Programming Language :: Python :: 3 :: Only',
Thomas Kluyver
Add Trove classifiers for PyPI.
r4771 'Topic :: System :: Shells'
]