1# Copyright (C) 2003-2008 Jeff Forcier <jeff@bitprophet.org> 2# 3# This file is part of ssh. 4# 5# 'ssh' is free software; you can redistribute it and/or modify it under the 6# terms of the GNU Lesser General Public License as published by the Free 7# Software Foundation; either version 2.1 of the License, or (at your option) 8# any later version. 9# 10# 'ssh' is distrubuted in the hope that it will be useful, but WITHOUT ANY 11# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 12# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 13# details. 14# 15# You should have received a copy of the GNU Lesser General Public License 16# along with 'ssh'; if not, write to the Free Software Foundation, Inc., 17# 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA. 18 19 20longdesc = ''' 21This is a library for making SSH2 connections (client or server). 22Emphasis is on using SSH2 as an alternative to SSL for making secure 23connections between python scripts. All major ciphers and hash methods 24are supported. SFTP client and server mode are both supported too. 25 26Required packages: 27 pyCrypto 28 29To install the `in-development version <https://github.com/bitprophet/ssh/tarball/master#egg=ssh-dev>`_, use `pip install ssh==dev`. 30''' 31 32# if someday we want to *require* setuptools, uncomment this: 33# (it will cause setuptools to be automatically downloaded) 34#import ez_setup 35#ez_setup.use_setuptools() 36 37import sys 38try: 39 from setuptools import setup 40 kw = { 41 } 42except ImportError: 43 from distutils.core import setup 44 kw = {} 45 46if sys.platform == 'darwin': 47 import setup_helper 48 setup_helper.install_custom_make_tarball() 49 50 51setup(name = "ssh", 52 version = "1.8.0", 53 description = "SSH2 protocol library", 54 author = "Jeff Forcier", 55 author_email = "jeff@bitprophet.org", 56 url="https://github.com/bitprophet/ssh/", 57 packages = [ 'ssh' ], 58 license = 'LGPL', 59 platforms = 'Posix; MacOS X; Windows', 60 classifiers = [ 'Development Status :: 5 - Production/Stable', 61 'Intended Audience :: Developers', 62 'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)', 63 'Operating System :: OS Independent', 64 'Topic :: Internet', 65 'Topic :: Security :: Cryptography' ], 66 long_description = longdesc, 67 **kw 68 ) 69