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