From a5157531f3811f3ff48f15355bbc29b23a0b607b Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Fri, 1 Oct 2021 15:09:43 -0400 Subject: Use README for long description like other projects --- setup.py | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/setup.py b/setup.py index d439fd03..93c08d15 100644 --- a/setup.py +++ b/setup.py @@ -24,16 +24,15 @@ if sys.platform == "darwin": setup_helper.install_custom_make_tarball() -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. - -To install the development version, ``pip install -e -git+https://github.com/paramiko/paramiko/#egg=paramiko``. -""" +text = open("README.rst").read() +long_description = """ +To find out what's new in this version of Paramiko, please see `the changelog +`_. +{} +""".format( + version, text +) # Version info -- read without importing _locals = {} @@ -61,7 +60,7 @@ setup( name="paramiko", version=version, description="SSH2 protocol library", - long_description=longdesc, + long_description=long_description, author="Jeff Forcier", author_email="jeff@bitprophet.org", url="https://github.com/paramiko/paramiko/", -- cgit v1.2.3