-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
52 lines (47 loc) · 1.83 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/usr/bin/env python
from setuptools import setup
from codecs import open
def lines(text):
"""
Returns each non-blank line in text enclosed in a list.
See http://pypi.python.org/pypi/textdata for more sophisticated version.
"""
return [l.strip() for l in text.strip().splitlines() if l.strip()]
setup(
name='textwrap3',
version='0.9.2',
author='Jonathan Eunice',
author_email='jonathan.eunice@gmail.com',
description="textwrap from Python 3.6 backport (plus a few tweaks)",
long_description=open('README.rst', encoding='utf-8').read(),
url='https://github.com/jonathaneunice/textwrap3',
license='Python Software Foundation License',
py_modules=['textwrap3'],
setup_requires=[],
install_requires=[],
tests_require=['tox', 'pytest', 'coverage', 'pytest-cov'],
test_suite="test",
zip_safe=False,
keywords='text wrap fill textwrap',
classifiers=lines("""
Development Status :: 4 - Beta
Operating System :: OS Independent
License :: OSI Approved :: Python Software Foundation License
Intended Audience :: Developers
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Topic :: Software Development :: Libraries :: Python Modules
Topic :: Text Processing
Topic :: Text Processing :: Filters
""")
)