summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-03-15 20:00:09 +0100
committerhut <hut@lavabit.com>2013-03-15 20:00:09 +0100
commit8a5944e1bd52dd749c34a5b4eda401902531175a (patch)
tree9fea246da806fbb5fa6152d5ec554579c53bb6f0
parent48d5bf92ce6c8fb5132c3c464c6202ecec9289f5 (diff)
downloadranger-8a5944e1bd52dd749c34a5b4eda401902531175a.tar.gz
added doc/config directory with symlinks to configs
l---------doc/config/colorschemes/default.py1
l---------doc/config/colorschemes/jungle.py1
l---------doc/config/colorschemes/snow.py1
l---------doc/config/commands.py1
l---------doc/config/rc.conf1
l---------doc/config/rifle.conf1
l---------doc/config/scope.sh1
-rwxr-xr-xsetup.py13
8 files changed, 11 insertions, 9 deletions
diff --git a/doc/config/colorschemes/default.py b/doc/config/colorschemes/default.py
new file mode 120000
index 00000000..3d8cfddb
--- /dev/null
+++ b/doc/config/colorschemes/default.py
@@ -0,0 +1 @@
+../../../ranger/colorschemes/default.py
\ No newline at end of file
diff --git a/doc/config/colorschemes/jungle.py b/doc/config/colorschemes/jungle.py
new file mode 120000
index 00000000..ce0aa2c4
--- /dev/null
+++ b/doc/config/colorschemes/jungle.py
@@ -0,0 +1 @@
+../../../ranger/colorschemes/jungle.py
\ No newline at end of file
diff --git a/doc/config/colorschemes/snow.py b/doc/config/colorschemes/snow.py
new file mode 120000
index 00000000..315d63c7
--- /dev/null
+++ b/doc/config/colorschemes/snow.py
@@ -0,0 +1 @@
+../../../ranger/colorschemes/snow.py
\ No newline at end of file
diff --git a/doc/config/commands.py b/doc/config/commands.py
new file mode 120000
index 00000000..11905118
--- /dev/null
+++ b/doc/config/commands.py
@@ -0,0 +1 @@
+../../ranger/config/commands.py
\ No newline at end of file
diff --git a/doc/config/rc.conf b/doc/config/rc.conf
new file mode 120000
index 00000000..f9d2522a
--- /dev/null
+++ b/doc/config/rc.conf
@@ -0,0 +1 @@
+../../ranger/config/rc.conf
\ No newline at end of file
diff --git a/doc/config/rifle.conf b/doc/config/rifle.conf
new file mode 120000
index 00000000..d542e16c
--- /dev/null
+++ b/doc/config/rifle.conf
@@ -0,0 +1 @@
+../../ranger/config/rifle.conf
\ No newline at end of file
diff --git a/doc/config/scope.sh b/doc/config/scope.sh
new file mode 120000
index 00000000..d9264caa
--- /dev/null
+++ b/doc/config/scope.sh
@@ -0,0 +1 @@
+../../ranger/data/scope.sh
\ No newline at end of file
diff --git a/setup.py b/setup.py
index 4698d60b..b9a9bd6a 100755
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,8 @@ import os.path
 import ranger
 
 def _findall(directory):
-    return [os.path.join(directory, f) for f in os.listdir(directory)]
+    return [os.path.join(directory, f) for f in os.listdir(directory) \
+            if os.path.isfile(os.path.join(directory, f))]
 
 if __name__ == '__main__':
     distutils.core.setup(
@@ -29,15 +30,9 @@ if __name__ == '__main__':
                  'CHANGELOG',
                  'doc/HACKING',
                  'doc/colorschemes.txt']),
-            ('share/doc/ranger/config',
-                ['ranger/config/commands.py',
-                 'ranger/config/rc.conf',
-                 'ranger/config/rifle.conf',
-                 'ranger/data/scope.sh']),
             ('share/doc/ranger/config/colorschemes',
-                ['ranger/colorschemes/default.py',
-                 'ranger/colorschemes/jungle.py',
-                 'ranger/colorschemes/snow.py']),
+                _findall('doc/config/colorschemes')),
+            ('share/doc/ranger/config', _findall('doc/config')),
             ('share/doc/ranger/tools', _findall('doc/tools')),
             ('share/doc/ranger/examples', _findall('doc/examples')),
         ],
'#n354'>354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395