Permalink
Browse files

Reindent setup.py file

  • Loading branch information...
multani committed Dec 29, 2011
1 parent 07f4043 commit 42d72dafd9b4de703f2f11427c36d10b20cbc223
Showing with 62 additions and 55 deletions.
  1. +62 −55 setup.py
View
117 setup.py
@@ -59,61 +59,68 @@ def rmgeneric(path, __func__):
]
-setup(name='Sonata',
- version=version,
- description='GTK+ client for the Music Player Daemon (MPD).',
- author='Scott Horowitz',
- author_email='stonecrest@gmail.com',
- url='http://sonata.berlios.de/',
- classifiers=[
- 'Development Status :: 4 - Beta',
- 'Environment :: X11 Applications',
- 'Intended Audience :: End Users/Desktop',
- 'License :: GNU General Public License (GPL)',
- 'Operating System :: Linux',
- 'Programming Language :: Python',
- 'Topic :: Multimedia :: Sound :: Players',
- ],
- packages=["sonata", "sonata.plugins"],
- package_dir={"sonata": "sonata/"},
- ext_modules=[Extension(
- "mmkeys", ["mmkeys/mmkeyspy.c", "mmkeys/mmkeys.c", "mmkeys/mmkeysmodule.c"],
- extra_compile_args=capture("pkg-config --cflags gtk+-2.0 pygtk-2.0").split(),
- extra_link_args=capture("pkg-config --libs gtk+-2.0 pygtk-2.0").split()
- ),],
- data_files=[('share/sonata', ['README.old', 'CHANGELOG', 'TODO', 'TRANSLATORS']),
- ('share/applications', ['sonata.desktop']),
- ('share/pixmaps', glob.glob('sonata/pixmaps/*')),
- ('share/man/man1', ['sonata.1']),
- ('share/locale/de/LC_MESSAGES', ['mo/de/sonata.mo']),
- ('share/locale/pl/LC_MESSAGES', ['mo/pl/sonata.mo']),
- ('share/locale/ru/LC_MESSAGES', ['mo/ru/sonata.mo']),
- ('share/locale/fr/LC_MESSAGES', ['mo/fr/sonata.mo']),
- ('share/locale/zh_CN/LC_MESSAGES', ['mo/zh_CN/sonata.mo']),
- ('share/locale/sv/LC_MESSAGES', ['mo/sv/sonata.mo']),
- ('share/locale/es/LC_MESSAGES', ['mo/es/sonata.mo']),
- ('share/locale/fi/LC_MESSAGES', ['mo/fi/sonata.mo']),
- ('share/locale/nl/LC_MESSAGES', ['mo/nl/sonata.mo']),
- ('share/locale/it/LC_MESSAGES', ['mo/it/sonata.mo']),
- ('share/locale/cs/LC_MESSAGES', ['mo/cs/sonata.mo']),
- ('share/locale/da/LC_MESSAGES', ['mo/da/sonata.mo']),
- ('share/locale/ca/LC_MESSAGES', ['mo/ca/sonata.mo']),
- ('share/locale/ar/LC_MESSAGES', ['mo/ar/sonata.mo']),
- ('share/locale/pt_BR/LC_MESSAGES', ['mo/pt_BR/sonata.mo']),
- ('share/locale/et/LC_MESSAGES', ['mo/et/sonata.mo']),
- ('share/locale/tr/LC_MESSAGES', ['mo/tr/sonata.mo']),
- ('share/locale/be@latin/LC_MESSAGES', ['mo/be@latin/sonata.mo']),
- ('share/locale/el_GR/LC_MESSAGES', ['mo/el_GR/sonata.mo']),
- ('share/locale/sk/LC_MESSAGES', ['mo/sk/sonata.mo']),
- ('share/locale/ja/LC_MESSAGES', ['mo/ja/sonata.mo']),
- ('share/locale/sl/LC_MESSAGES', ['mo/sl/sonata.mo']),
- ('share/locale/zh_TW/LC_MESSAGES', ['mo/zh_TW/sonata.mo']),
- ('share/locale/uk/LC_MESSAGES', ['mo/uk/sonata.mo'])],
- entry_points={
- 'console_scripts': [
- 'sonata=sonata.launcher:run',
- ]
- },
+setup(
+ name='Sonata',
+ version=version,
+ description='GTK+ client for the Music Player Daemon (MPD).',
+ author='Scott Horowitz',
+ author_email='stonecrest@gmail.com',
+ url='http://sonata.berlios.de/',
+ classifiers=[
+ 'Development Status :: 4 - Beta',
+ 'Environment :: X11 Applications',
+ 'Intended Audience :: End Users/Desktop',
+ 'License :: GNU General Public License (GPL)',
+ 'Operating System :: Linux',
+ 'Programming Language :: Python',
+ 'Topic :: Multimedia :: Sound :: Players',
+ ],
+ packages=["sonata", "sonata.plugins"],
+ package_dir={"sonata": "sonata/"},
+ ext_modules=[
+ Extension(
+ "mmkeys",
+ ["mmkeys/mmkeyspy.c", "mmkeys/mmkeys.c",
+ "mmkeys/mmkeysmodule.c"],
+ extra_compile_args=capture("pkg-config --cflags gtk+-2.0 pygtk-2.0").split(),
+ extra_link_args=capture("pkg-config --libs gtk+-2.0 pygtk-2.0").split()
+ ),
+ ],
+ data_files=[
+ ('share/sonata', ['README.old', 'CHANGELOG', 'TODO', 'TRANSLATORS']),
+ ('share/applications', ['sonata.desktop']),
+ ('share/pixmaps', glob.glob('sonata/pixmaps/*')),
+ ('share/man/man1', ['sonata.1']),
+ ('share/locale/de/LC_MESSAGES', ['mo/de/sonata.mo']),
+ ('share/locale/pl/LC_MESSAGES', ['mo/pl/sonata.mo']),
+ ('share/locale/ru/LC_MESSAGES', ['mo/ru/sonata.mo']),
+ ('share/locale/fr/LC_MESSAGES', ['mo/fr/sonata.mo']),
+ ('share/locale/zh_CN/LC_MESSAGES', ['mo/zh_CN/sonata.mo']),
+ ('share/locale/sv/LC_MESSAGES', ['mo/sv/sonata.mo']),
+ ('share/locale/es/LC_MESSAGES', ['mo/es/sonata.mo']),
+ ('share/locale/fi/LC_MESSAGES', ['mo/fi/sonata.mo']),
+ ('share/locale/nl/LC_MESSAGES', ['mo/nl/sonata.mo']),
+ ('share/locale/it/LC_MESSAGES', ['mo/it/sonata.mo']),
+ ('share/locale/cs/LC_MESSAGES', ['mo/cs/sonata.mo']),
+ ('share/locale/da/LC_MESSAGES', ['mo/da/sonata.mo']),
+ ('share/locale/ca/LC_MESSAGES', ['mo/ca/sonata.mo']),
+ ('share/locale/ar/LC_MESSAGES', ['mo/ar/sonata.mo']),
+ ('share/locale/pt_BR/LC_MESSAGES', ['mo/pt_BR/sonata.mo']),
+ ('share/locale/et/LC_MESSAGES', ['mo/et/sonata.mo']),
+ ('share/locale/tr/LC_MESSAGES', ['mo/tr/sonata.mo']),
+ ('share/locale/be@latin/LC_MESSAGES', ['mo/be@latin/sonata.mo']),
+ ('share/locale/el_GR/LC_MESSAGES', ['mo/el_GR/sonata.mo']),
+ ('share/locale/sk/LC_MESSAGES', ['mo/sk/sonata.mo']),
+ ('share/locale/ja/LC_MESSAGES', ['mo/ja/sonata.mo']),
+ ('share/locale/sl/LC_MESSAGES', ['mo/sl/sonata.mo']),
+ ('share/locale/zh_TW/LC_MESSAGES', ['mo/zh_TW/sonata.mo']),
+ ('share/locale/uk/LC_MESSAGES', ['mo/uk/sonata.mo'])
+ ],
+ entry_points={
+ 'console_scripts': [
+ 'sonata=sonata.launcher:run',
+ ]
+ },
test_suite='sonata.tests',
tests_require=tests_require,
extras_require={

0 comments on commit 42d72da

Please sign in to comment.