chiark / gitweb /
Merge branch 'py3' 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.6.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           'mwclient',
31           'paramiko',
32           'Pillow',
33           'apache-libcloud >= 0.14.1',
34           'pyasn1',
35           'pyasn1-modules',
36           'PyYAML',
37           'requests',
38       ],
39       classifiers=[
40           'Development Status :: 3 - Alpha',
41           'Intended Audience :: Developers',
42           'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
43           'Operating System :: POSIX',
44           'Topic :: Utilities',
45       ],
46       )