From 1b240862ed4a26ea0cca03cb84a133e39125ae43 Mon Sep 17 00:00:00 2001 From: Ilya Etingof Date: Mon, 6 Aug 2018 23:22:48 +0200 Subject: [PATCH] Improve long description in Trove --- setup.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index eb59205d..412e667a 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,9 @@ #!/usr/bin/env python """SNMP library for Python - SNMP v1/v2c/v3 engine and apps written in pure-Python. - Supports Manager/Agent/Proxy roles, scriptable MIBs, - asynchronous operation and multiple transports. +SNMP v1/v2c/v3 engine and Standard Applications suite written in pure-Python. +Supports Manager/Agent/Proxy roles, Manager/Agent-side MIBs, asynchronous +operation and multiple network transports. """ import sys import os @@ -124,13 +124,13 @@ except ImportError: re.sub(r'(.*?)([<>=!~]+)(.*)', r'\g<1>\g<2>(\g<3>)', r) for r in resolved_requires ] -doclines = [x.strip() for x in (__doc__ or '').split('\n') if x] +doclines = [x.strip() for x in (__doc__ or '').split('\n')] params.update({ 'name': 'pysnmp', 'version': open(os.path.join('pysnmp', '__init__.py')).read().split('\'')[1], 'description': doclines[0], - 'long_description': ' '.join(doclines[1:]), + 'long_description': '\n'.join(doclines[1:]), 'maintainer': 'Ilya Etingof ', 'author': 'Ilya Etingof', 'author_email': 'etingof@gmail.com',