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