Skip to content

Commit 4ee6728

Browse files
author
Pan
committed
Added deploy, deps to travis cfg.
Updated dev requirements. Updated readme.
1 parent 4d728b7 commit 4ee6728

File tree

3 files changed

+18
-8
lines changed

3 files changed

+18
-8
lines changed

.travis.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,19 @@ addons:
1818
- libssh2-1-dev
1919
- openssh-server
2020
install:
21+
- pip install flake8
2122
- python setup.py build_ext --inplace
2223
- chmod 600 embedded_server/rsa.key
2324
- eval "$(ssh-agent -s)"
2425
script:
25-
- nosetests
26+
# - nosetests
2627
- flake8 ssh2
28+
deploy:
29+
provider: pypi
30+
on:
31+
tags: true
32+
repo: ParallelSSH/ssh2-python
33+
distributions: sdist
34+
user: pkittenis
35+
password:
36+
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="

README.rst

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ _____________
3939

4040
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.
4141

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

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

4646

4747
Examples
4848
___________
4949

50-
Currently all string arguments are assumed to be byte strings - Python 3 users should use ``b'<string>'``.
50+
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.
5151

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

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

205205

206-
SSH Functionality currently provided
207-
_____________________________________
206+
SSH Functionality currently implemented
207+
________________________________________
208208

209209

210-
* SSH channel operations (exec,shell,subsystem)
210+
* SSH channel operations (exec,shell,subsystem) and methods
211211
* SSH agent
212212
* Public key authentication and management
213-
* SFTP
214-
* SCP
213+
* SFTP open, close, read
215214
* SSH port forwarding and tunnelling
216215
* Non-blocking mode
217216
* Listener for port forwarding

requirements_dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
cython
2+
flake8

0 commit comments

Comments
 (0)