Skip to content

Commit

Permalink
Session thread (#6)
Browse files Browse the repository at this point in the history
Fix osx wheel upload
Updated readme. Updated changelog.
Session initialisation thread safety.
Agent thread safety.
  • Loading branch information
pkittenis committed Aug 24, 2017
1 parent cea330e commit 5bd5ccb
Show file tree
Hide file tree
Showing 10 changed files with 1,206 additions and 1,859 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ jobs:
- ls -l dist/
- brew uninstall libssh2
- pip install -v dist/*.whl
- mkdir temp; cd temp
- pwd; mkdir temp; cd temp; pwd
- python -c "from ssh2.session import Session; Session()"
- cd
- cd ..; pwd
after_success:
- if [[ ! -z "$TRAVIS_TAG" ]]; then
twine upload -u $PYPI_U -p $PYPI_P dist/*.whl;
Expand Down
21 changes: 21 additions & 0 deletions Changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,27 @@
Change Log
=============

0.5.3
++++++

Changes
--------

* Win32 build compatibility.
* Binary wheels for Linux, OSX and Windows, all Python versions, with embedded libssh2 and OpenSSL (embedded OpenSSL is Linux and OSX only).
* OSX CI builds.

Fixes
-----

* Session handshake thread safety.
* Agent thread safety.

0.5.2
++++++

No code changes.

0.5.1
++++++

Expand Down
34 changes: 11 additions & 23 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,46 +4,34 @@ ssh2-python
Super fast SSH2 protocol library. ``ssh2-python`` provides Python bindings for `libssh2`_.

.. image:: https://img.shields.io/badge/License-LGPL%20v2-blue.svg
:target: https://pypi.python.org/pypi/ssh2-python
:alt: License
:target: https://pypi.python.org/pypi/ssh2-python
:alt: License
.. image:: https://img.shields.io/pypi/v/ssh2-python.svg
:target: https://pypi.python.org/pypi/ssh2-python
:alt: Latest Version
:target: https://pypi.python.org/pypi/ssh2-python
:alt: Latest Version
.. image:: https://travis-ci.org/ParallelSSH/ssh2-python.svg?branch=master
:target: https://travis-ci.org/ParallelSSH/ssh2-python
.. image:: https://ci.appveyor.com/api/projects/status/github/parallelssh/ssh2-python?svg=true&branch=master
:target: https://ci.appveyor.com/project/pkittenis/ssh2-python
.. image:: https://img.shields.io/pypi/wheel/ssh2-python.svg
:target: https://pypi.python.org/pypi/ssh2-python
.. image:: https://img.shields.io/pypi/pyversions/ssh2-python.svg
:target: https://pypi.python.org/pypi/ssh2-python

Installation
______________


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.

The library has *no dependencies* other than ``libssh2``.
System packages have *no dependencies* other than the ``libssh2`` system library.

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

Installation from Source
_________________________
Wheel packages have **no dependencies**.

Install ``libssh2`` and Python header files.


Ubuntu
--------

.. code-block:: shell
apt-get install libssh2-1-dev python-dev
pip install ssh2-python
RedHat
-------

.. code-block:: shell
yum install libssh2-devel python-devel
pip install ssh2-python
Expand Down

0 comments on commit 5bd5ccb

Please sign in to comment.