mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-14 02:50:12 +01:00
convert setup.py into working setuptools-based installer
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.
This commit is contained in:
parent
9e113dbacf
commit
4d79f41bea
17
setup.py
17
setup.py
@ -1,16 +1,25 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
from distutils.core import setup
|
||||
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'],
|
||||
data_files = [('', ['COPYING', 'config.sample.py']),
|
||||
('docs', ['docs/*.texi'])
|
||||
]
|
||||
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',
|
||||
],
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user