summary refs log tree commit diff stats
diff options
context:
space:
mode:
authornfnty <git@nfnty.se>2017-02-09 07:07:42 +0100
committernfnty <git@nfnty.se>2017-02-09 07:10:09 +0100
commit6bc13af09f394e3b508acbf879beb821e612f72c (patch)
tree30f4437d9e9aa867e6fb589b8a88c36cb9877bb1
parentbc54f7574caa14a4ce09d70f1660376dc5cdcd94 (diff)
downloadranger-6bc13af09f394e3b508acbf879beb821e612f72c.tar.gz
setup.py: Improve readability
-rwxr-xr-xsetup.py54
1 files changed, 30 insertions, 24 deletions
diff --git a/setup.py b/setup.py
index 5bbafd5d..1a271e71 100755
--- a/setup.py
+++ b/setup.py
@@ -27,35 +27,41 @@ if __name__ == '__main__':
         url='http://ranger.nongnu.org',
         scripts=['scripts/ranger', 'scripts/rifle'],
         data_files=[
-            ('share/applications',
-             ['doc/ranger.desktop']),
-            ('share/man/man1',
-             ['doc/ranger.1',
-              'doc/rifle.1']),
-            ('share/doc/ranger',
-             ['README.md',
-              'CHANGELOG.md',
-              'HACKING.md',
-              'doc/colorschemes.txt']),
-            ('share/doc/ranger/config/colorschemes',
-             _findall('doc/config/colorschemes')),
+            ('share/applications', [
+                'doc/ranger.desktop',
+            ]),
+            ('share/man/man1', [
+                'doc/ranger.1',
+                'doc/rifle.1',
+            ]),
+            ('share/doc/ranger', [
+                'doc/colorschemes.txt',
+                'CHANGELOG.md',
+                'HACKING.md',
+                'README.md',
+            ]),
             ('share/doc/ranger/config', _findall('doc/config')),
-            ('share/doc/ranger/tools', _findall('doc/tools')),
+            ('share/doc/ranger/config/colorschemes', _findall('doc/config/colorschemes')),
             ('share/doc/ranger/examples', _findall('examples')),
+            ('share/doc/ranger/tools', _findall('doc/tools')),
         ],
         package_data={
             'ranger': [
-                'data/*', 'config/rc.conf',
+                'data/*',
+                'config/rc.conf',
                 'config/rifle.conf',
             ],
         },
-        packages=('ranger',
-                  'ranger.api',
-                  'ranger.colorschemes',
-                  'ranger.container',
-                  'ranger.core',
-                  'ranger.config',
-                  'ranger.ext',
-                  'ranger.gui',
-                  'ranger.gui.widgets',
-                  'ranger.ext.vcs'))
+        packages=(
+            'ranger',
+            'ranger.api',
+            'ranger.colorschemes',
+            'ranger.config',
+            'ranger.container',
+            'ranger.core',
+            'ranger.ext',
+            'ranger.ext.vcs'
+            'ranger.gui',
+            'ranger.gui.widgets',
+        ),
+    )