From b7ccaa7015df61c101b3aa40e44feb2b5da287a0 Mon Sep 17 00:00:00 2001 From: Marek Siarkowicz Date: Fri, 12 Jun 2015 14:07:20 +0200 Subject: Fix pep8. --- setup.py | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 064cf67..b919e8f 100644 --- a/setup.py +++ b/setup.py @@ -1,49 +1,49 @@ import glob import sys -if sys.platform=="win32": +if sys.platform == "win32": from distutils.core import setup else: from setuptools import setup setup( - name = 'parrotziktray', - description = 'Parrot Zik Tray Indicator', + name='parrotziktray', + description='Parrot Zik Tray Indicator', author="Dmitry Moiseev", author_email="m0sia@m0sia.ru", maintainer_email="m0sia@m0sia.ru", url="https://github.com/m0sia/pyParrotZik", license="'GPLv2+'", - version = '0.3', - - windows = [ - { - 'script': 'ParrotZikTray', - 'icon_resources': [(1, "./share/icons/zik/Headphone.ico")], - } - ], - - options = { - 'py2exe': { - #'packages':'encodings', - # Optionally omit gio, gtk.keysyms, and/or rsvg if you're not using them - 'includes': 'cairo, pango, pangocairo, atk, gobject, gio, gtk.keysyms, _winreg', - } - }, + version='0.3', + + windows=[ + { + 'script': 'ParrotZikTray', + 'icon_resources': [(1, "./share/icons/zik/Headphone.ico")], + } + ], + + options={ + 'py2exe': { + #'packages':'encodings', + # Optionally omit gio, gtk.keysyms, and/or rsvg if you're not using them + 'includes': 'cairo, pango, pangocairo, atk, gobject, gio, gtk.keysyms, _winreg', + } + }, data_files=[ - ("share/icons/zik", glob.glob("share/icons/zik/*.png")) - # If using GTK+'s built in SVG support, uncomment these - #os.path.join(gtk_base_path, '..', 'runtime', 'bin', 'gdk-pixbuf-query-loaders.exe'), - #os.path.join(gtk_base_path, '..', 'runtime', 'bin', 'libxml2-2.dll'), - ], + ("share/icons/zik", glob.glob("share/icons/zik/*.png")) + # If using GTK+'s built in SVG support, uncomment these + #os.path.join(gtk_base_path, '..', 'runtime', 'bin', 'gdk-pixbuf-query-loaders.exe'), + #os.path.join(gtk_base_path, '..', 'runtime', 'bin', 'libxml2-2.dll'), + ], install_requires=[ - 'BeautifulSoup','bluetooth' - ], + 'BeautifulSoup', 'bluetooth' + ], - py_modules=['ParrotZik','ParrotProtocol'], + py_modules=['ParrotZik', 'ParrotProtocol'], scripts=["ParrotZikTray"] ) -- cgit v1.2.1