From 3f2f132a9fdf7a48ec6131d5498145dded3cfcad Mon Sep 17 00:00:00 2001 From: Ilya Etingof Date: Tue, 26 Feb 2019 08:56:24 +0100 Subject: PEP-8 long lines and dunders (#245) This patch massively reformats the whole codebase mainly wrapping long lines and eliminating dundered private attributes. --- setup.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 1dd5c958..d805bb05 100644 --- a/setup.py +++ b/setup.py @@ -38,15 +38,15 @@ Topic :: Software Development :: Libraries :: Python Modules def howto_install_setuptools(): - print(""" - Error: You need setuptools Python package! + print("""\ +Error: You need setuptools Python package! - It's very easy to install it, just type: +It's very easy to install it, just type: - wget https://bootstrap.pypa.io/ez_setup.py - python ez_setup.py +wget https://bootstrap.pypa.io/ez_setup.py +python ez_setup.py - Then you could make eggs from this package. +Then you could make eggs from this package. """) @@ -94,8 +94,8 @@ try: observed_version < required_version): print("ERROR: your wheels won't come out round with setuptools %s! " "Upgrade to %s and try again." % ( - '.'.join([str(x) for x in observed_version]), - '.'.join([str(x) for x in required_version]))) + '.'.join(str(x) for x in observed_version), + '.'.join(str(x) for x in required_version))) sys.exit(1) # NOTE(etingof): older setuptools fail at parsing python_version -- cgit v1.2.1