[pytango] 161/483: update install guide

Sandor Bodo-Merle sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:14:36 UTC 2017


This is an automated email from the git hooks/post-receive script.

sbodomerle-guest pushed a commit to annotated tag bliss_8.10
in repository pytango.

commit c322453925d4ba1e972ea3caed2c1929310de338
Author: tiagocoutinho <tiagocoutinho at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date:   Tue Oct 9 15:53:30 2012 +0000

    update install guide
    
    git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@21250 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
 doc/start.rst | 120 +++++++++++++++++++---------------------------------------
 1 file changed, 39 insertions(+), 81 deletions(-)

diff --git a/doc/start.rst b/doc/start.rst
index 11d29ba..5457833 100644
--- a/doc/start.rst
+++ b/doc/start.rst
@@ -29,8 +29,6 @@ Dependencies on other libraries
         PyTango     [shape=box, label="PyTango 8.0"];
         Python      [shape=box, label="Python >=2.6"];
         boostpython [shape=box, label="boost python"];
-        boostp1     [shape=box, label="boost >=1.33"];
-        boostp2     [shape=box, label="boost >=1.41"];
         Tango       [shape=box, label="Tango >=8.0.5"];
         omniORB     [shape=box, label="omniORB >=4"];
         numpy       [shape=box, label="numpy >=1.1.0"];
@@ -40,25 +38,20 @@ Dependencies on other libraries
         PyTango -> numpy [style=dotted, label="mandatory in windows"];
         Tango -> omniORB;
         PyTango -> boostpython
-        boostpython -> boostp1 [label="if python <2.6.3"];
-        boostpython -> boostp2 [label="if python >=2.6.3"];
         PyTango -> IPython [style=dotted, label="optional"];
     }   
 
 Don't be scared by the graph. Probably most of the packages are already installed.
-The current PyTango version has four major dependencies:
+The current PyTango version has three major dependencies:
 
 - python (>= 2.6) (http://www.python.org/)
-- omniORB (http://omniorb.sourceforge.net/)
 - Tango (>= 8.0.5) (http://www.tango-controls.org/)
 - boost python (http://www.boost.org):
-    if python >= 2.6.3 then: boost-python >= 1.41
-    else: boost-python >= 1.33
-    We **strongly** recommend always using >= 1.41
+    We **strongly** recommend always using boost python >= 1.41
   
 plus two optional dependencies (activated by default) on:
 
-- IPyhon (>=0.10) (http://ipython.scipy.org/) (necessary for :ref:`itango`)
+- IPython (>=0.10) (http://www.ipython.org/) (necessary for :ref:`itango`)
 - numpy (>= 1.1.0) (http://numpy.scipy.org/)
 
 .. note::
@@ -70,13 +63,14 @@ Installing precompiled binaries
 Linux
 ~~~~~
 
-The PyTango team does **not** provide a precompiled binary for Linux since this
-would mean having to provide at least 10 different binaries: one for each major
-python version (2.6, 2.7, 3.0, 3.1 and 3.2) times 2 for both 32bits and 64bits.
+PyTango is available on linux as an official debian/ubuntu package (python-pytango).
 
-Tango contributers have written packages for *at least* ubuntu and debian linux
-distributions. Check the **Ubuntu GNU/Linux binary distribution** chapter under
-`Tango downloads <http://www.tango-controls.org/download>`_ for more details.
+RPM packages are also available for RHEL & CentOS:
+
+    * `RHEL5/CentOS5 5 32bits <ftp://ftp.maxlab.lu.se/pub/maxlab/packages/el5/i386/repoview/index.html>`_
+    * `RHEL5/CentOS5 5 64bits <ftp://ftp.maxlab.lu.se/pub/maxlab/packages/el5/x86_64/repoview/index.html>`_
+    * `RHEL6/CentOS6 5 32bits <ftp://ftp.maxlab.lu.se/pub/maxlab/packages/el6/i386/repoview/index.html>`_
+    * `RHEL6/CentOS6 5 64bits <ftp://ftp.maxlab.lu.se/pub/maxlab/packages/el6/x86_64/repoview/index.html>`_        
 
 .. _pytango-windows-bin:
 
@@ -87,67 +81,31 @@ PyTango team provides a limited set of binary PyTango distributables for
 Windows XP/Vista/7. The complete list of binaries can be downloaded from
 `PyTango PyPI website <http://pypi.python.org/pypi/PyTango/>`_.
 
-.. _PyTango-7.2.3.win32-py2.6.msi: http://pypi.python.org/packages/2.6/P/PyTango/PyTango-7.2.3.win32-py2.6.msi
-.. _PyTango-7.2.3.win32-py2.6.exe: http://pypi.python.org/packages/2.6/P/PyTango/PyTango-7.2.3.win32-py2.6.exe
-.. _PyTango-7.2.3.win32-py2.7.msi: http://pypi.python.org/packages/2.7/P/PyTango/PyTango-7.2.3.win32-py2.7.msi
-.. _PyTango-7.2.3.win32-py2.7.exe: http://pypi.python.org/packages/2.7/P/PyTango/PyTango-7.2.3.win32-py2.7.exe
-
-.. only:: html
-
-    +----------------------------------+--------------------------------------------------+----------------------------------------------+
-    | version                          | Dependencies                                     | Compilation env.                             |
-    +==================================+==================================================+==============================================+
-    | `PyTango-7.2.3.win32-py2.6.msi`_ | - Tango C++ >= 7.2.6 and < 8.0                   | - Tango 7.2.6 windows distribution           |
-    | `PyTango-7.2.3.win32-py2.6.exe`_ | - Python 2.6.x (where x >= 0)                    | - Python 2.6.6                               |
-    |                                  | - numpy 1.x (where x >= 1. Recommended x >= 5)   | - Numpy 1.5                                  |
-    |                                  |                                                  | - boost-python 1.41 mutithreaded dll         |
-    |                                  |                                                  | - Visual Studio 8.0 (2005)                   |
-    |                                  |                                                  | - Windows XP Pro 2002 SP3                    |
-    |                                  |                                                  | - PC: Intel Xeon E5440 @ 2.83GHz 1GB RAM     |
-    +----------------------------------+--------------------------------------------------+----------------------------------------------+
-    | `PyTango-7.2.3.win32-py2.7.msi`_ | - Tango C++ >= 7.2.6 and < 8.0                   | - Tango 7.2.6 windows distribution           |
-    | `PyTango-7.2.3.win32-py2.7.exe`_ | - Python 2.7.x (where x >= 0)                    | - Python 2.7.2                               |
-    |                                  | - numpy 1.x (where x >= 1. Recommended x >= 5)   | - Numpy 1.5                                  |
-    |                                  |                                                  | - boost-python 1.47 mutithreaded dll         |
-    |                                  |                                                  | - Visual Studio 8.0 (2005)                   |
-    |                                  |                                                  | - Windows XP Pro 2002 SP3                    |
-    |                                  |                                                  | - PC: Intel Xeon E5440 @ 2.83GHz 1GB RAM     |
-    +----------------------------------+--------------------------------------------------+----------------------------------------------+
-
-Until version 7.2.2 (due to internal incompatibilities between tango C++ API
-and PyTango), PyTango had to be shipped with an internal copy of tango and
-omniORB DLLs. Since version 7.2.2 ( and tango C++ version 7.2.6) this is no
-longer necessary. In other words, until 7.2.2 you could install and use PyTango
-without having tango c++ installed. Starting from 7.2.2 you **must** have tango
-C++ installed **and** the environment variable :envvar:`PATH` **must** include
-the directory where the tango C++ DLLs are installed (usually
-:file:`C:\\Program Files{ (x86)}\\tango\\win32_vc8\\win32_dll`).
-
-Since PyTango 7.2.3, boost-python is statically linked to avoid DLL conflicts.
-
-The binary was compiled with numpy dependency therefore you need to have *numpy*
-installed in order to use PyTango.
-
-If PyTango reports *DLL load failed* probably you are missing Visual Studio 2005
-redistributable package. You can download and install it from
-`Microsoft Visual C++ 2005 Redistributable Package (x86) <http://www.microsoft.com/download/en/details.aspx?id=3387>`_
-
-+------------+-----------------------------------------------------------------+
-| version    | Includes the following DLLs                                     |
-+============+=================================================================+
-| 7.2.2      | - boost python 1.41 (VC++8, multi-threaded)                     |
-+------------+-----------------------------------------------------------------+
-| 7.1.0      | - tango 7.1.1 (VC++ 8)                                          |
-|            | - omniORB 4.1.4                                                 |
-|            | - boost python 1.41 (VC++8, multi-threaded)                     |
-+------------+-----------------------------------------------------------------+
-| 7.1.0 rc1  | - tango 7.1.1 (VC++ 8)                                          |
-|            | - omniORB 4.1.4                                                 |
-|            | - boost python 1.41 beta 1 (VC++8, multi-threaded)              |
-|            |   this version was used because it is the first version that    |
-|            |   fixes a bug that prevents PyTango from being used with        | 
-|            |   python >= 2.6.3                                               |
-+------------+-----------------------------------------------------------------+
+Steps:
+
+* Install `Tango C++ 32 bits <http://ftp.esrf.fr/pub/cs/tango/TangoSetup-8.0.5_win32.exe>`_
+* For `Python 2.6 32 bits <http://www.python.org/ftp/python/2.6.6/python-2.6.6.msi>`_
+    * `Numpy for python 2.6 <http://pypi.python.org/packages/2.6/n/numpy/numpy-1.6.2.win32-py2.6.exe>`_
+    * `PyTango 8 for python 2.6 <http://pypi.python.org/packages/2.6/P/PyTango/PyTango-8.0.1.win32-py2.6.msi>`_
+* For `Python 2.7 32 bits <http://www.python.org/ftp/python/2.7.3/python-2.7.3.msi>`_
+    * `Numpy for python 2.7 <http://pypi.python.org/packages/2.7/n/numpy/numpy-1.6.2.win32-py2.7.exe>`_
+    * `PyTango 8 for python 2.7 <http://pypi.python.org/packages/2.7/P/PyTango/PyTango-8.0.1.win32-py2.7.msi>`_
+* For `Python 3.1 32 bits <http://www.python.org/ftp/python/3.1.4/python-3.1.4.msi>`_
+    * `Numpy for python 3.1 <http://pypi.python.org/packages/3.1/n/numpy/numpy-1.6.2.win32-py3.1.exe>`_
+    * `PyTango 8 for python 3.1 <http://pypi.python.org/packages/3.1/P/PyTango/PyTango-8.0.1.win32-py3.1.msi>`_
+* For `Python 3.2 32 bits <http://www.python.org/ftp/python/3.2.3/python-3.2.3.msi>`_
+    * `Numpy for python 3.2 <http://pypi.python.org/packages/3.2/n/numpy/numpy-1.6.2.win32-py3.2.exe>`_
+    * `PyTango 8 for python 3.2 <http://pypi.python.org/packages/3.2/P/PyTango/PyTango-8.0.1.win32-py3.2.msi>`_
+
+..
+.. _PyTango-8.0.1.win32-py2.6.msi: http://pypi.python.org/packages/2.6/P/PyTango/PyTango-8.0.1.win32-py2.6.msi
+.. _PyTango-8.0.1.win32-py2.6.exe: http://pypi.python.org/packages/2.6/P/PyTango/PyTango-8.0.1.win32-py2.6.exe
+.. _PyTango-8.0.1.win32-py2.7.msi: http://pypi.python.org/packages/2.7/P/PyTango/PyTango-8.0.1.win32-py2.7.msi
+.. _PyTango-8.0.1.win32-py2.7.exe: http://pypi.python.org/packages/2.7/P/PyTango/PyTango-8.0.1.win32-py2.7.exe
+.. _PyTango-8.0.1.win32-py3.1.msi: http://pypi.python.org/packages/3.1/P/PyTango/PyTango-8.0.1.win32-py3.1.msi
+.. _PyTango-8.0.1.win32-py3.1.exe: http://pypi.python.org/packages/3.1/P/PyTango/PyTango-8.0.1.win32-py3.1.exe
+.. _PyTango-8.0.1.win32-py3.2.msi: http://pypi.python.org/packages/3.2/P/PyTango/PyTango-8.0.1.win32-py3.2.msi
+.. _PyTango-8.0.1.win32-py3.2.exe: http://pypi.python.org/packages/3.2/P/PyTango/PyTango-8.0.1.win32-py3.2.exe
 
 
 Compiling & installing
@@ -159,7 +117,7 @@ Linux
 Since PyTango 7 the build system used to compile PyTango is the standard python 
 distutils.
 
-Besides the binaries for the four dependencies mentioned above, you also need 
+Besides the binaries for the three dependencies mentioned above, you also need 
 the development files for the respective libraries.
 
 boost python dependency
@@ -244,7 +202,7 @@ Finally::
     sudo python setup.py install
     
 This will install PyTango in the system python installation directory and, since
-version 7.1.2, it will also install :ref:`itango` as an IPython_ extension.
+version 8.0.0, it will also install :ref:`itango` as an IPython_ extension.
     
 Or if you whish to install in a different directory::
     
@@ -277,7 +235,7 @@ then, in ITango type:
 .. sourcecode:: itango
 
     ITango [1]: PyTango.Release.version
-    Result [1]: '8.0.0'
+    Result [1]: '8.0.1'
 
 (if you are wondering, :ref:`itango` automaticaly does ``import PyTango`` for you!)
 
@@ -286,7 +244,7 @@ and type:
 
     >>> import PyTango
     >>> PyTango.Release.version
-    '8.0.0'
+    '8.0.1'
 
     
 .. _IPython: http://ipython.scipy.org/

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytango.git



More information about the debian-science-commits mailing list