chiark / gitweb /
install sample config files in a standard location
authorHans-Christoph Steiner <hans@eds.org>
Fri, 1 Nov 2013 19:09:16 +0000 (15:09 -0400)
committerHans-Christoph Steiner <hans@eds.org>
Mon, 4 Nov 2013 17:20:19 +0000 (12:20 -0500)
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

index 56dc471a9104a09eaaa182354f6e1d9ff0e7522c..cb6a3a81de66cccfc1ffa5a4abe3556b0527c4d1 100644 (file)
--- 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',