diff options
author | hut <hut@lavabit.com> | 2013-03-15 20:00:09 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2013-03-15 20:00:09 +0100 |
commit | 8a5944e1bd52dd749c34a5b4eda401902531175a (patch) | |
tree | 9fea246da806fbb5fa6152d5ec554579c53bb6f0 /setup.py | |
parent | 48d5bf92ce6c8fb5132c3c464c6202ecec9289f5 (diff) | |
download | ranger-8a5944e1bd52dd749c34a5b4eda401902531175a.tar.gz |
added doc/config directory with symlinks to configs
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 13 |
1 files changed, 4 insertions, 9 deletions
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')), ], |