You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Changelog.rst
+2
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,8 @@ See `Upgrading to API 2.0 <https://parallel-ssh.readthedocs.io/en/latest/api_upg
28
28
* Renamed ``run_command`` ``timeout`` to ``read_timeout=<seconds>)`` for setting output read timeout individually - defaults to global timeout setting.
29
29
* Removed ``pssh.native`` package and native code.
30
30
* ``ParallelSSHClient.scp_send`` now supports ``copy_args`` keyword argument for providing per-host file name arguments like rest of ``scp_*`` and ``copy_*`` functionality.
31
+
* Changed exception names to end in ``Error`` from ``Exception`` - backwards compatible.
32
+
* ``UnknownHostException``, ``AuthenticationException``, ``ConnectionErrorException``, ``SSHException`` no longer available as imports ``from pssh`` - use ``from pssh.exceptions``.
Copy file name to clipboardExpand all lines: doc/installation.rst
+11-60
Original file line number
Diff line number
Diff line change
@@ -17,18 +17,20 @@ Pip Install
17
17
18
18
If ``pip`` is not available on your Python platform, `see this installation guide <http://docs.python-guide.org/en/latest/starting/installation/>`_.
19
19
20
-
Dependencies
21
-
--------------
20
+
From Source Dependencies
21
+
-------------------------
22
22
23
-
When installing from source, dependencies must be satisfied by ``pip install -r requirements.txt``. For pre-built binary wheel packages with dependencies included, see `Pip Install`_.
23
+
When installing from source, dependencies must be satisfied by ``pip install -r requirements.txt`` or by system packages.
24
24
25
-
=============== ================
25
+
For binary packages, see `Pip Install`_.
26
+
27
+
=============== =====================
26
28
Dependency Minimum Version
27
-
=============== ================
28
-
``ssh2-python`` ``0.19.0``
29
-
``ssh-python`` ``0.6.0``
30
-
``gevent`` ``1.1``
31
-
=============== ================
29
+
=============== =====================
30
+
``ssh2-python`` per requirements.txt
31
+
``ssh-python`` per requirements.txt
32
+
``gevent`` per requirements.txt
33
+
=============== =====================
32
34
33
35
34
36
Building from Source
@@ -54,54 +56,3 @@ Or for developing changes:
54
56
55
57
pip install -r requirements_dev.txt
56
58
57
-
Building System Packages
58
-
--------------------------
59
-
60
-
For convenience, a script making use of Docker is provided at `ci/docker/build-packages.sh <https://github.com/ParallelSSH/parallel-ssh/blob/master/ci/docker/build-packages.sh>`_ that will build system packages for Centos/RedHat 6/7, Ubuntu 14.04/16.04, Debian 7/8 and Fedora 22/23/24.
61
-
62
-
This script and docker files can be adapted for other distributions.
63
-
64
-
Note that these packages make use of system libraries that may need to be updated to be compatible with ``parallel-ssh`` - see `Dependencies`_.
To build for only a specific system/distribution, run the two following commands, substituting distribution with the desired one from `ci/docker <https://github.com/ParallelSSH/parallel-ssh/blob/master/ci/docker>`_. See `existing Dockerfiles <https://github.com/ParallelSSH/parallel-ssh/tree/master/ci/docker/ubuntu16.04/Dockerfile>`_ for examples on how to create system packages for other distributions.
0 commit comments