From 94342ee43cf5732add957f0eb477507bd9e956ca Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 1 Nov 2013 15:09:16 -0400 Subject: [PATCH] install sample config files in a standard location This means they'll automatically be installed in the right place by the packaging processes of various UNIX distros, and then that makes it easy for the upcoming 'fdroid init' to find them. --- setup.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.py b/setup.py index 56dc471a..cb6a3a81 100644 --- a/setup.py +++ b/setup.py @@ -11,6 +11,11 @@ setup(name='FDroidServer', url='http://f-droid.org', packages=['fdroidserver'], scripts=['fdroid'], + data_files=[ + ('share/doc/fdroidserver/examples', + ['config.buildserver.py', 'config.sample.py', 'makebs.config.sample.py', + 'fdroid-icon.png']), + ], install_requires=[ 'python-magic', 'PIL',