Skip to content

Commit 5bd5ccb

Browse files
authored
Session thread (#6)
Fix osx wheel upload Updated readme. Updated changelog. Session initialisation thread safety. Agent thread safety.
1 parent cea330e commit 5bd5ccb

File tree

10 files changed

+1206
-1859
lines changed

10 files changed

+1206
-1859
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ jobs:
4343
- ls -l dist/
4444
- brew uninstall libssh2
4545
- pip install -v dist/*.whl
46-
- mkdir temp; cd temp
46+
- pwd; mkdir temp; cd temp; pwd
4747
- python -c "from ssh2.session import Session; Session()"
48-
- cd
48+
- cd ..; pwd
4949
after_success:
5050
- if [[ ! -z "$TRAVIS_TAG" ]]; then
5151
twine upload -u $PYPI_U -p $PYPI_P dist/*.whl;

Changelog.rst

+21
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,27 @@
11
Change Log
22
=============
33

4+
0.5.3
5+
++++++
6+
7+
Changes
8+
--------
9+
10+
* Win32 build compatibility.
11+
* Binary wheels for Linux, OSX and Windows, all Python versions, with embedded libssh2 and OpenSSL (embedded OpenSSL is Linux and OSX only).
12+
* OSX CI builds.
13+
14+
Fixes
15+
-----
16+
17+
* Session handshake thread safety.
18+
* Agent thread safety.
19+
20+
0.5.2
21+
++++++
22+
23+
No code changes.
24+
425
0.5.1
526
++++++
627

README.rst

+11-23
Original file line numberDiff line numberDiff line change
@@ -4,46 +4,34 @@ ssh2-python
44
Super fast SSH2 protocol library. ``ssh2-python`` provides Python bindings for `libssh2`_.
55

66
.. image:: https://img.shields.io/badge/License-LGPL%20v2-blue.svg
7-
:target: https://pypi.python.org/pypi/ssh2-python
8-
:alt: License
7+
:target: https://pypi.python.org/pypi/ssh2-python
8+
:alt: License
99
.. image:: https://img.shields.io/pypi/v/ssh2-python.svg
10-
:target: https://pypi.python.org/pypi/ssh2-python
11-
:alt: Latest Version
10+
:target: https://pypi.python.org/pypi/ssh2-python
11+
:alt: Latest Version
1212
.. image:: https://travis-ci.org/ParallelSSH/ssh2-python.svg?branch=master
1313
:target: https://travis-ci.org/ParallelSSH/ssh2-python
1414
.. image:: https://ci.appveyor.com/api/projects/status/github/parallelssh/ssh2-python?svg=true&branch=master
1515
:target: https://ci.appveyor.com/project/pkittenis/ssh2-python
16+
.. image:: https://img.shields.io/pypi/wheel/ssh2-python.svg
17+
:target: https://pypi.python.org/pypi/ssh2-python
18+
.. image:: https://img.shields.io/pypi/pyversions/ssh2-python.svg
19+
:target: https://pypi.python.org/pypi/ssh2-python
1620

1721
Installation
1822
______________
1923

2024

2125
System packages are available on the `latest releases page <https://github.com/ParallelSSH/ssh2-python/releases/latest>`_ built on Centos/RedHat 6/7, Ubuntu 14.04/16.04, Debian 7/8 and Fedora 22/23/24.
2226

23-
The library has *no dependencies* other than ``libssh2``.
27+
System packages have *no dependencies* other than the ``libssh2`` system library.
2428

29+
Binary wheel packages are also provided for Linux, OSX and Windows, all Python versions, with ``libssh2`` and its required libraries included.
2530

26-
Installation from Source
27-
_________________________
31+
Wheel packages have **no dependencies**.
2832

29-
Install ``libssh2`` and Python header files.
30-
31-
32-
Ubuntu
33-
--------
34-
35-
.. code-block:: shell
36-
37-
apt-get install libssh2-1-dev python-dev
38-
pip install ssh2-python
39-
40-
41-
RedHat
42-
-------
43-
4433
.. code-block:: shell
4534
46-
yum install libssh2-devel python-devel
4735
pip install ssh2-python
4836
4937

0 commit comments

Comments
 (0)