diff --git a/README b/README index a544d70..d58611c 100644 --- a/README +++ b/README @@ -9,10 +9,8 @@ ssh :Homepage: http://pypi.python.org/pypi/ssh/ -ssh 1.7.8 -================ - -Released October 23, 2011. +ssh +=== What diff --git a/setup.py b/setup.py index bfb7452..88c9737 100644 --- a/setup.py +++ b/setup.py @@ -47,8 +47,10 @@ if sys.platform == 'darwin': setup_helper.install_custom_make_tarball() +import ssh + setup(name = "ssh", - version = "1.7.9", + version = ssh.__version__, description = "SSH2 protocol library", author = "Jeff Forcier", author_email = "jeff@bitprophet.org", diff --git a/ssh/__init__.py b/ssh/__init__.py index 8aa978e..da1d11f 100644 --- a/ssh/__init__.py +++ b/ssh/__init__.py @@ -46,11 +46,6 @@ receive data over the encrypted session. released under the GNU Lesser General Public License (LGPL). Website: U{http://www.lag.net/ssh/} - -@version: 1.7.8 -@author: Jeff Forcier -@contact: jeff@bitprophet.org -@license: GNU Lesser General Public License (LGPL) """ import sys @@ -60,9 +55,7 @@ if sys.version_info < (2, 2): __author__ = "Jeff Forcier " -__date__ = "23 October 2011" -__version__ = "1.7.8" -__version_info__ = (1, 7, 8) +__version__ = "1.7.10" __license__ = "GNU Lesser General Public License (LGPL)" diff --git a/ssh/transport.py b/ssh/transport.py index 9cb014e..acad259 100644 --- a/ssh/transport.py +++ b/ssh/transport.py @@ -29,6 +29,7 @@ import threading import time import weakref +import ssh from ssh import util from ssh.auth_handler import AuthHandler from ssh.channel import Channel @@ -194,7 +195,7 @@ class Transport (threading.Thread): """ _PROTO_ID = '2.0' - _CLIENT_ID = 'ssh_1.7.8' + _CLIENT_ID = 'ssh_%s' % (ssh.__version__) _preferred_ciphers = ( 'aes128-ctr', 'aes256-ctr', 'aes128-cbc', 'blowfish-cbc', 'aes256-cbc', '3des-cbc', 'arcfour128', 'arcfour256' )