mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 00:40:11 +01:00
1bde10a642
PIL is the old standard Python Imaging. Pillow is a fork where development is actually continuing. It seems that all the distros are also switching from PIL to Pillow, including Debian, Ubuntu, Fedora, brew, MacPorts, etc.
45 lines
1.3 KiB
Python
45 lines
1.3 KiB
Python
#!/usr/bin/env python2
|
|
|
|
from setuptools import setup
|
|
import os
|
|
import subprocess
|
|
import sys
|
|
|
|
if not os.path.exists('fdroidserver/getsig/getsig.class'):
|
|
subprocess.check_output('cd fdroidserver/getsig && javac getsig.java',
|
|
shell=True)
|
|
|
|
setup(name='fdroidserver',
|
|
version='0.2',
|
|
description='F-Droid Server Tools',
|
|
long_description=open('README').read(),
|
|
author='The F-Droid Project',
|
|
author_email='team@f-droid.org',
|
|
url='https://f-droid.org',
|
|
packages=['fdroidserver'],
|
|
scripts=['fdroid', 'fd-commit'],
|
|
data_files=[
|
|
(sys.prefix + '/share/doc/fdroidserver/examples',
|
|
['buildserver/config.buildserver.py',
|
|
'examples/config.py',
|
|
'examples/makebs.config.py',
|
|
'examples/opensc-fdroid.cfg',
|
|
'examples/fdroid-icon.png']),
|
|
('fdroidserver/getsig', ['fdroidserver/getsig/getsig.class'])
|
|
],
|
|
install_requires=[
|
|
'mwclient',
|
|
'paramiko',
|
|
'Pillow',
|
|
'python-magic',
|
|
'apache-libcloud >= 0.14.1',
|
|
],
|
|
classifiers=[
|
|
'Development Status :: 3 - Alpha',
|
|
'Intended Audience :: Developers',
|
|
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
|
|
'Operating System :: POSIX',
|
|
'Topic :: Utilities',
|
|
],
|
|
)
|