Skip to content

Commit

Permalink
Added deploy, deps to travis cfg.
Browse files Browse the repository at this point in the history
Updated dev requirements.
Updated readme.
  • Loading branch information
Pan committed Aug 1, 2017
1 parent 4d728b7 commit 4ee6728
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
12 changes: 11 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,19 @@ addons:
- libssh2-1-dev
- openssh-server
install:
- pip install flake8
- python setup.py build_ext --inplace
- chmod 600 embedded_server/rsa.key
- eval "$(ssh-agent -s)"
script:
- nosetests
# - nosetests
- flake8 ssh2
deploy:
provider: pypi
on:
tags: true
repo: ParallelSSH/ssh2-python
distributions: sdist
user: pkittenis
password:
secure: "eEBo76bmNWArLOzLNkv8whYO81HqkYpwUu3RqBHv6PNW/sI70VSIVfPTWo8ThlNkYSBy1Sxci6eU+Vd8qYH/vaCbl4068BkzroGUqGMLHXLRLEPQjO2pxTvnQ7Nbj/Mi9enoslLJKflx2USy2iPz1yGCWZrPzjLWmEMcx6j5e3fEUGF2p6p01w/zWxmiSoyJgBsby9P8Fl5nflsNMVR/or8frK4K1T6Y2oTuEx9aYymmBPFOO5DHaedDxnhZ04KKaACIECvKrT5V3PMM1jrE3qu6hJ1LS0/mSivEdCwCszHanjIQy/enkNtLgxVm4jIRUjuAwL1MmxPtkAUcKrQor1YokMqm5fExdwvnp+qjtyejfA3IvT93nYvCj4IEYNMDtUGFUBjsYLqg7Ked/jvO53Ek5WEAE/Mx8F/OAtuvkpEeUKTIWxfd+V0b7pgShVuU5zFyi3y97vpRtdwqzOFr8QT3Hq+g/RIdghPQ9pGQ3GOomTMO1B7mAyOG6SYyQM/wra2h2dQTHCbgzAtsPzZLiZhWIGcU7/mGLm0kZBT6McnH2//hsIPXG8S94u2MWE0KRH5YhJ/2ATWneYyFHWQfwqDeR/1CZe66gFcPJ9cOIG+8pcmXueLhnueDbh2EWa8jmumtrAz+z+rcokih0c7catT7pByDv24Ouuw2Yf3my60="
13 changes: 6 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ _____________

Majority of the `libssh2`_ API has been implemented. ``ssh2-python`` is a thin wrapper of ``libssh2`` - its code examples can be ported straight over to Python with only minimal changes.

Some parts are yet to be implemented though majority of the API is complete. Note current restriction on byte strings in examples section.
Some parts are yet to be implemented though majority of the API is complete.

*Library is at the moment available as source code only. Binary releases to follow.*


Examples
___________

Currently all string arguments are assumed to be byte strings - Python 3 users should use ``b'<string>'``.
Both byte and unicode strings are accepted as arguments and encoded appropriately. To change default encoding change the value of ``ssh2.utils.ENCODING``. Channel output is always byte strings.

See `Complete Example`_ for a complete example including socket connect.

Expand Down Expand Up @@ -203,15 +203,14 @@ Clients using this library can be much simpler to use than interfacing with the
Exit status: 2


SSH Functionality currently provided
_____________________________________
SSH Functionality currently implemented
________________________________________


* SSH channel operations (exec,shell,subsystem)
* SSH channel operations (exec,shell,subsystem) and methods
* SSH agent
* Public key authentication and management
* SFTP
* SCP
* SFTP open, close, read
* SSH port forwarding and tunnelling
* Non-blocking mode
* Listener for port forwarding
Expand Down
1 change: 1 addition & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
cython
flake8

0 comments on commit 4ee6728

Please sign in to comment.