Improve long description in Trove
parent
d662c557a7
commit
1b240862ed
10
setup.py
10
setup.py
|
@ -1,9 +1,9 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
"""SNMP library for Python
|
"""SNMP library for Python
|
||||||
|
|
||||||
SNMP v1/v2c/v3 engine and apps written in pure-Python.
|
SNMP v1/v2c/v3 engine and Standard Applications suite written in pure-Python.
|
||||||
Supports Manager/Agent/Proxy roles, scriptable MIBs,
|
Supports Manager/Agent/Proxy roles, Manager/Agent-side MIBs, asynchronous
|
||||||
asynchronous operation and multiple transports.
|
operation and multiple network transports.
|
||||||
"""
|
"""
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
|
@ -124,13 +124,13 @@ except ImportError:
|
||||||
re.sub(r'(.*?)([<>=!~]+)(.*)', r'\g<1>\g<2>(\g<3>)', r) for r in resolved_requires
|
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({
|
params.update({
|
||||||
'name': 'pysnmp',
|
'name': 'pysnmp',
|
||||||
'version': open(os.path.join('pysnmp', '__init__.py')).read().split('\'')[1],
|
'version': open(os.path.join('pysnmp', '__init__.py')).read().split('\'')[1],
|
||||||
'description': doclines[0],
|
'description': doclines[0],
|
||||||
'long_description': ' '.join(doclines[1:]),
|
'long_description': '\n'.join(doclines[1:]),
|
||||||
'maintainer': 'Ilya Etingof <etingof@gmail.com>',
|
'maintainer': 'Ilya Etingof <etingof@gmail.com>',
|
||||||
'author': 'Ilya Etingof',
|
'author': 'Ilya Etingof',
|
||||||
'author_email': 'etingof@gmail.com',
|
'author_email': 'etingof@gmail.com',
|
||||||
|
|
Loading…
Reference in New Issue