mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-14 11:00:10 +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
|
#!/usr/bin/python
|
||||||
|
|
||||||
from distutils.core import setup
|
from setuptools import setup
|
||||||
|
|
||||||
setup(name='FDroidServer',
|
setup(name='FDroidServer',
|
||||||
version='0.1',
|
version='0.1',
|
||||||
description='F-Droid Server Tools',
|
description='F-Droid Server Tools',
|
||||||
|
long_description=open('README').read(),
|
||||||
author='The F-Droid Project',
|
author='The F-Droid Project',
|
||||||
author_email='admin@f-droid.org',
|
author_email='admin@f-droid.org',
|
||||||
url='http://f-droid.org',
|
url='http://f-droid.org',
|
||||||
packages=['fdroidserver'],
|
packages=['fdroidserver'],
|
||||||
scripts=['fdroid'],
|
scripts=['fdroid'],
|
||||||
data_files = [('', ['COPYING', 'config.sample.py']),
|
install_requires=[
|
||||||
('docs', ['docs/*.texi'])
|
'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