mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-08-17 20:00:10 +02:00
With this setup.py, its possible to install the required packages using: pip install -e . The Debian packaging will also automatically get the dependencies from install_requires. This does not handle the generation of the docs at all. I have not found a straightforward way to include running ./gendocs.sh in setup.py, but its easy to run in the Debian packaging.
26 lines
705 B
Python
26 lines
705 B
Python
#!/usr/bin/python
|
|
|
|
from setuptools import setup
|
|
|
|
setup(name='FDroidServer',
|
|
version='0.1',
|
|
description='F-Droid Server Tools',
|
|
long_description=open('README').read(),
|
|
author='The F-Droid Project',
|
|
author_email='admin@f-droid.org',
|
|
url='http://f-droid.org',
|
|
packages=['fdroidserver'],
|
|
scripts=['fdroid'],
|
|
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',
|
|
],
|
|
)
|