fdroid-repomaker/setup.py

71 lines
2.1 KiB
Python

import os
from setuptools import setup, find_packages
from repomaker import VERSION
DATA_PREFIX = os.path.join('share', 'repomaker')
packages = find_packages()
print("Packages: %s" % str(packages))
setup(
name='repomaker',
version=VERSION,
packages=packages + ['repomaker-static'],
description='Create F-Droid repositories with ease',
license='AGPL-3.0',
url='https://f-droid.org/repomaker/',
python_requires='>=3',
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=[
'django >=1.11.29, < 1.12',
'django-allauth',
'django-tinymce >=2.6.0, <3',
'django-js-reverse',
'django-compressor',
'django-sass-processor',
'django-hvad>=1.8.0',
'django-background-tasks >=1.1.13, <1.2',
'qrcode',
'six>=1.9', # until bleach depends on html5lib>=1.0
'bleach>=2.1.4',
'python-magic',
'cryptography>=1.4.0',
'fdroidserver >=1.1, < 2.0',
],
# List additional groups of dependencies here (e.g. development dependencies).
# You can install these using the following syntax, for example:
# $ pip install -e .[dev,test]
extras_require={
'gui': [
'PyQt5==5.10.0',
'pywebview[qt5] <3',
],
'test': [
'pep8',
'coverage',
'pylint-django',
],
},
include_package_data=True,
package_data={},
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'repomaker-server = repomaker:runserver',
'repomaker-tasks = repomaker:process_tasks',
],
'gui_scripts': [
'repomaker = repomaker.gui:main',
],
},
)