From f064784690a7b402562296206ab7d88a7e1b60d0 Mon Sep 17 00:00:00 2001 From: Stephane Odul Date: Thu, 6 Sep 2012 14:24:42 -0700 Subject: [PATCH] pure style refactoring of setup.py. Pylint score went from 5/10 to 10/10. --- console/org.linkedin.glu.console-cli/setup.py | 26 ++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/console/org.linkedin.glu.console-cli/setup.py b/console/org.linkedin.glu.console-cli/setup.py index 8a88bf3c..28d19d19 100644 --- a/console/org.linkedin.glu.console-cli/setup.py +++ b/console/org.linkedin.glu.console-cli/setup.py @@ -14,20 +14,22 @@ # the License. # -import os +"""Setup script for Glu console-cli.""" + from setuptools import setup + setup( - name = "gluconsole", - version = "0.1", - author = "Manish Dubey", - author_email = "mdubey@linkedin.com", - description = "GLU REST API", - install_requires = ['restkit', 'progressbar'], - packages = ['gluconsole'], - scripts = ['src/cmdline/resources/bin/console-cli.py'], + name = 'gluconsole', + version = '0.1', + author = 'Manish Dubey', + author_email = 'mdubey@linkedin.com', + description = 'GLU REST API', + install_requires = ['restkit', 'progressbar'], + packages = ['gluconsole'], + scripts = ['src/cmdline/resources/bin/console-cli.py'], - package_dir = { - 'gluconsole': 'src/cmdline/resources/lib/python/gluconsole' - }, + package_dir = { + 'gluconsole': 'src/cmdline/resources/lib/python/gluconsole' + } )