paramiko/setup.py

69 lines
2.4 KiB
Python
Raw Permalink Normal View History

# Copyright (C) 2003-2008 Jeff Forcier <jeff@bitprophet.org>
#
2011-10-23 03:00:43 -04:00
# This file is part of ssh.
#
2011-10-23 03:00:43 -04:00
# 'ssh' is free software; you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation; either version 2.1 of the License, or (at your option)
# any later version.
#
2011-10-23 03:00:43 -04:00
# 'ssh' is distrubuted in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License
2011-10-23 03:00:43 -04:00
# along with 'ssh'; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
longdesc = '''
This is a library for making SSH2 connections (client or server).
Emphasis is on using SSH2 as an alternative to SSL for making secure
connections between python scripts. All major ciphers and hash methods
are supported. SFTP client and server mode are both supported too.
Required packages:
pyCrypto
2011-11-17 20:00:17 -05:00
2011-11-17 20:40:41 -05:00
To install the `in-development version <https://github.com/bitprophet/ssh/tarball/master#egg=ssh-dev>`_, use `pip install ssh==dev`.
'''
# if someday we want to *require* setuptools, uncomment this:
# (it will cause setuptools to be automatically downloaded)
#import ez_setup
#ez_setup.use_setuptools()
import sys
try:
from setuptools import setup
kw = {
'install_requires': 'pycrypto >= 2.1, != 2.4',
}
except ImportError:
from distutils.core import setup
kw = {}
2009-11-02 01:01:04 -05:00
if sys.platform == 'darwin':
import setup_helper
setup_helper.install_custom_make_tarball()
2011-10-23 03:00:43 -04:00
setup(name = "ssh",
2011-11-18 11:56:12 -05:00
version = "1.7.11",
description = "SSH2 protocol library",
2011-10-23 03:36:12 -04:00
author = "Jeff Forcier",
author_email = "jeff@bitprophet.org",
2011-10-23 03:00:43 -04:00
packages = [ 'ssh' ],
license = 'LGPL',
platforms = 'Posix; MacOS X; Windows',
classifiers = [ 'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
'Operating System :: OS Independent',
'Topic :: Internet',
'Topic :: Security :: Cryptography' ],
long_description = longdesc,
**kw
)