chiark / gitweb /
Merge branch 'feature/dscanner' into master
[fdroidserver.git] / setup.py
1 #!/usr/bin/env python3
2
3 from setuptools import setup
4 import sys
5
6 # workaround issue on OSX, where sys.prefix is not an installable location
7 if sys.platform == 'darwin' and sys.prefix.startswith('/System'):
8     data_prefix = '.'
9 else:
10     data_prefix = sys.prefix
11
12 setup(name='fdroidserver',
13       version='0.7.0',
14       description='F-Droid Server Tools',
15       long_description=open('README.md').read(),
16       author='The F-Droid Project',
17       author_email='team@f-droid.org',
18       url='https://f-droid.org',
19       packages=['fdroidserver', 'fdroidserver.asynchronousfilereader'],
20       scripts=['fdroid', 'fd-commit'],
21       data_files=[
22           (data_prefix + '/share/doc/fdroidserver/examples',
23               ['buildserver/config.buildserver.py',
24                   'examples/config.py',
25                   'examples/makebuildserver.config.py',
26                   'examples/opensc-fdroid.cfg',
27                   'examples/fdroid-icon.png']),
28       ],
29       install_requires=[
30           'clint',
31           'GitPython',
32           'mwclient',
33           'paramiko',
34           'Pillow',
35           'apache-libcloud >= 0.14.1',
36           'pyasn1',
37           'pyasn1-modules',
38           'PyYAML',
39           'requests < 2.11',
40           'docker-py == 1.9.0',
41       ],
42       classifiers=[
43           'Development Status :: 3 - Alpha',
44           'Intended Audience :: Developers',
45           'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
46           'Operating System :: POSIX',
47           'Topic :: Utilities',
48       ],
49       )