From 874f107948457847bdb43efd33848baddfc8c543 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Wed, 2 Mar 2016 10:21:07 +0100 Subject: [PATCH] PEP8-formatted setup.py --- setup.py | 51 ++++++++++++++++++++++++++------------------------- 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/setup.py b/setup.py index 5a64fb9..bd93112 100644 --- a/setup.py +++ b/setup.py @@ -2,39 +2,40 @@ from setuptools import setup import sys, os + sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'pillarsdk')) from config import __version__, __pypi_packagename__, __github_username__, __github_reponame__ -long_description=""" - The Pillar REST SDK provides Python APIs to communicate to the Pillar webservices. - """ +long_description = """ +The Pillar REST SDK provides Python APIs to communicate to the Pillar webservices. +""" # license='Free BSD' # if os.path.exists('LICENSE.md'): # license = open('LICENSE.md').read() -url='https://github.com/' + __github_username__ + '/' + __github_reponame__ +url = 'https://github.com/' + __github_username__ + '/' + __github_reponame__ setup( - name=__pypi_packagename__, - version= __version__, - author='Francesco Siddi, PayPal', - author_email='francesco@blender.org', - packages=['pillarsdk'], - scripts=[], - url=url, - license='BSD License', - description='The Pillar REST SDK provides Python APIs to communicate to the Pillar webservices.', - long_description=long_description, - install_requires=['requests>=1.0.0', 'six>=1.0.0', 'pyopenssl>=0.14'], - classifiers=[ - 'Intended Audience :: Developers', - 'Operating System :: OS Independent', - 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.6', - 'Programming Language :: Python :: 2.7', - 'Topic :: Software Development :: Libraries :: Python Modules' - ], - keywords=['pillar', 'rest', 'sdk', 'tracking', 'film', 'production'] + name=__pypi_packagename__, + version=__version__, + author='Francesco Siddi, PayPal', + author_email='francesco@blender.org', + packages=['pillarsdk'], + scripts=[], + url=url, + license='BSD License', + description='The Pillar REST SDK provides Python APIs to communicate to the Pillar webservices.', + long_description=long_description, + install_requires=['requests>=1.0.0', 'six>=1.0.0', 'pyopenssl>=0.14'], + classifiers=[ + 'Intended Audience :: Developers', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 2.6', + 'Programming Language :: Python :: 2.7', + 'Topic :: Software Development :: Libraries :: Python Modules' + ], + keywords=['pillar', 'rest', 'sdk', 'tracking', 'film', 'production'] )