1 |
%define name ipython |
2 |
%define version 1.1.0 |
3 |
%define release %mkrel 3 |
4 |
|
5 |
Summary: An interactive computing environment for Python |
6 |
Name: %{name} |
7 |
Version: %{version} |
8 |
Release: %{release} |
9 |
Source0: http://pypi.python.org/packages/source/i/ipython/%{name}-%{version}.tar.gz |
10 |
License: BSD |
11 |
Group: Development/Python |
12 |
Url: http://ipython.org |
13 |
BuildArch: noarch |
14 |
Requires: python >= 2.6 |
15 |
Requires: python-pexpect >= 2.2 |
16 |
Suggests: python-mpi4py |
17 |
Suggests: wxPython, python-qt4, pyside >= 1.0.3 |
18 |
Suggests: python-pygments |
19 |
Suggests: python-pyzmq >= 2.1.4 |
20 |
#notebook requires tornado and jinja2 |
21 |
Suggests: python-tornado >= 2.1.0 |
22 |
Suggests: python-jinja2 |
23 |
BuildRequires: emacs, python-devel |
24 |
|
25 |
%description |
26 |
The goal of IPython is to create a comprehensive environment for |
27 |
interactive and exploratory computing. To support this goal, IPython |
28 |
has two main components: |
29 |
|
30 |
* An enhanced interactive Python shell. |
31 |
* An architecture for interactive parallel computing. |
32 |
|
33 |
The enhanced interactive Python shell has the following main features: |
34 |
|
35 |
* Comprehensive object introspection. |
36 |
* Input history, persistent across sessions. |
37 |
* Caching of output results during a session with automatically |
38 |
generated references. |
39 |
* Readline based name completion. |
40 |
* Extensible system of 'magic' commands for controlling the |
41 |
environment and performing many tasks related either to IPython or |
42 |
the operating system. |
43 |
* Configuration system with easy switching between different setups |
44 |
(simpler than changing $PYTHONSTARTUP environment variables every |
45 |
time). |
46 |
* Session logging and reloading. |
47 |
* Extensible syntax processing for special purpose situations. |
48 |
* Access to the system shell with user-extensible alias system. |
49 |
* Easily embeddable in other Python programs and wxPython GUIs. |
50 |
* Integrated access to the pdb debugger and the Python profiler. |
51 |
|
52 |
The parallel computing architecture has the following main features: |
53 |
|
54 |
* Quickly parallelize Python code from an interactive Python/IPython |
55 |
session. |
56 |
* A flexible and dynamic process model that be deployed on anything |
57 |
from multicore workstations to supercomputers. |
58 |
* An architecture that supports many different styles of parallelism, |
59 |
from message passing to task farming. |
60 |
* Both blocking and fully asynchronous interfaces. |
61 |
* High level APIs that enable many things to be parallelized in a few |
62 |
lines of code. |
63 |
* Share live parallel jobs with other users securely. |
64 |
* Dynamically load balanced task farming system. |
65 |
* Robust error handling in parallel code. |
66 |
|
67 |
%prep |
68 |
%setup -q |
69 |
|
70 |
%build |
71 |
emacs -batch -f batch-byte-compile docs/emacs/ipython.el |
72 |
|
73 |
%install |
74 |
PYTHONDONTWRITEBYTECODE= %__python setup.py install --root=%{buildroot} |
75 |
%__mkdir -p %{buildroot}%{_datadir}/emacs/site-lisp/ |
76 |
%__install -m 644 docs/emacs/ipython.el* %{buildroot}%{_datadir}/emacs/site-lisp/ |
77 |
chmod 644 %{buildroot}%{_mandir}/man1/*.1* |
78 |
find %{buildroot} -name .buildinfo -exec rm -f {} \; |
79 |
find %{buildroot} -name .git_commit_info.ini -exec rm -rf {} \; |
80 |
|
81 |
%files |
82 |
%doc examples |
83 |
%{_bindir}/* |
84 |
%{py_sitedir}/* |
85 |
%{_datadir}/emacs/site-lisp/* |
86 |
%{_mandir}/man1/* |