chiark / gitweb /
include prefix in data_files install path so it installs correctly
[fdroidserver.git] / setup.py
1 #!/usr/bin/env python2
2
3 from setuptools import setup
4 import sys
5
6 setup(name='fdroidserver',
7       version='0.1',
8       description='F-Droid Server Tools',
9       long_description=open('README').read(),
10       author='The F-Droid Project',
11       author_email='team@f-droid.org',
12       url='https://f-droid.org',
13       packages=['fdroidserver'],
14       scripts=['fdroid', 'fd-commit'],
15       data_files=[
16         (sys.prefix + '/share/doc/fdroidserver/examples',
17          [ 'buildserver/config.buildserver.py',
18            'examples/config.py',
19            'examples/makebs.config.py',
20            'examples/fdroid-icon.png']),
21         ],
22       install_requires=[
23         'python-magic',
24         'PIL',
25         ],
26       classifiers=[
27         'Development Status :: 3 - Alpha',
28         'Intended Audience :: Developers',
29         'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
30         'Operating System :: POSIX',
31         'Topic :: Utilities',
32         ],
33       )