1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-07-07 01:40:10 +02:00
fdroidserver/setup.py
Hans-Christoph Steiner 1b130950fd include prefix in data_files install path so it installs correctly
setuptools wants to stick any relative install path in data_files into the
.egg package.  Things are not setup to use the egg now.  We might want to
consider using sticking files into the egg via pkg_resource in the future.
2014-04-02 17:54:21 -04:00

34 lines
984 B
Python

#!/usr/bin/env python2
from setuptools import setup
import sys
setup(name='fdroidserver',
version='0.1',
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/fdroid-icon.png']),
],
install_requires=[
'python-magic',
'PIL',
],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Operating System :: POSIX',
'Topic :: Utilities',
],
)