34 |
BuildRequires: python-matplotlib |
BuildRequires: python-matplotlib |
35 |
BuildRequires: python-numpydoc |
BuildRequires: python-numpydoc |
36 |
|
|
|
%package -n python3-ipython |
|
|
Group: Development/Python |
|
|
Summary: An enhanced interactive Python shell |
|
|
BuildRequires: python3-devel |
|
|
BuildRequires: python3-setuptools |
|
|
BuildRequires: python3-simplegeneric |
|
|
BuildRequires: python3-pygments |
|
|
BuildRequires: python3-sphinx |
|
|
BuildRequires: python3-jinja2 |
|
|
BuildRequires: python3-pexpect |
|
|
BuildRequires: python3-pyzmq |
|
|
BuildRequires: python3-tornado |
|
|
Requires: python3-pexpect |
|
|
Requires: python3-mglob |
|
|
Requires: python3-simplegeneric |
|
|
Suggests: python3-pygments |
|
|
Suggests: python3-sip |
|
|
Suggests: python3-qt4 |
|
|
Suggests: python3-mpi4py |
|
|
Suggests: python3-tornado |
|
|
Suggests: python3-jinja2 |
|
|
Suggests: python3-matplotlib |
|
|
Suggests: python3-pyzmq |
|
|
|
|
37 |
%description |
%description |
38 |
The goal of IPython is to create a comprehensive environment for |
The goal of IPython is to create a comprehensive environment for |
39 |
interactive and exploratory computing. To support this goal, IPython |
interactive and exploratory computing. To support this goal, IPython |
76 |
* Dynamically load balanced task farming system. |
* Dynamically load balanced task farming system. |
77 |
* Robust error handling in parallel code. |
* Robust error handling in parallel code. |
78 |
|
|
|
%description -n python3-ipython |
|
|
IPython provides a replacement for the interactive Python interpreter with |
|
|
extra functionality. |
|
|
|
|
|
Main features: |
|
|
* Comprehensive object introspection. |
|
|
* Input history, persistent across sessions. |
|
|
* Caching of output results during a session with automatically generated\ |
|
|
references. |
|
|
* Readline based name completion. |
|
|
* Extensible system of 'magic' commands for controlling the environment and |
|
|
performing many tasks related either to IPython or the operating system. |
|
|
* Configuration system with easy switching between different setups (simpler |
|
|
than changing $PYTHONSTARTUP environment variables every time). |
|
|
* Session logging and reloading. |
|
|
* Extensible syntax processing for special purpose situations. |
|
|
* Access to the system shell with user-extensible alias system. |
|
|
* Easily embeddable in other Python programs. |
|
|
* Integrated access to the pdb debugger and the Python profiler. |
|
|
|
|
79 |
%package doc |
%package doc |
80 |
Summary: An Enhanced Interactive Python Shell documentation |
Summary: An Enhanced Interactive Python Shell documentation |
81 |
Group: Development/Python |
Group: Development/Python |
104 |
# Get rid of library shebangs |
# Get rid of library shebangs |
105 |
find . -type f -name "*.py" -exec sed -i '/#!\/usr\/bin\/env/d' {} \; |
find . -type f -name "*.py" -exec sed -i '/#!\/usr\/bin\/env/d' {} \; |
106 |
|
|
|
cp -a . %{py3dir} |
|
|
|
|
|
%build |
|
|
pushd %{py3dir} |
|
|
%{__python3} setup.py build |
|
|
popd |
|
|
|
|
|
%{__python} setup.py build |
|
|
|
|
|
%install |
|
|
pushd %{py3dir} |
|
|
%{__python3} setup.py install -O1 --skip-build --root %{buildroot} |
|
|
rm %{buildroot}%{_bindir}/ipython |
|
|
rm %{buildroot}%{_bindir}/ipcluster |
|
|
rm %{buildroot}%{_bindir}/ipcontroller |
|
|
rm %{buildroot}%{_bindir}/ipengine |
|
|
rm %{buildroot}%{_bindir}/iptest |
|
|
|
|
|
popd |
|
|
|
|
107 |
%{__python} setup.py install -O1 --skip-build --root %{buildroot} |
%{__python} setup.py install -O1 --skip-build --root %{buildroot} |
108 |
|
|
109 |
chmod 644 %{buildroot}%{_mandir}/man1/*.1* |
chmod 644 %{buildroot}%{_mandir}/man1/*.1* |
134 |
%doc examples docs/build/html |
%doc examples docs/build/html |
135 |
%{_mandir}/man1/* |
%{_mandir}/man1/* |
136 |
|
|
|
%files -n python3-ipython |
|
|
%{_bindir}/ipython3 |
|
|
%{_bindir}/ipcluster3 |
|
|
%{_bindir}/ipcontroller3 |
|
|
%{_bindir}/ipengine3 |
|
|
%{_bindir}/iptest3 |
|
|
|
|
|
%{python3_sitelib}/* |
|
|
|
|