forked from danirus/django-comments-xtd
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
86 lines (78 loc) · 3.02 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test
version = {}
with open("django_comments_tree/version.py") as fp:
exec(fp.read(), version)
def run_tests(*args):
from django_comments_tree.tests import run_tests
errors = run_tests()
if errors:
sys.exit(1)
else:
sys.exit(0)
test.run_tests = run_tests
setup(
name="django-comments-tree",
version=version['__version__'],
packages=find_packages(exclude=['tests']),
scripts=[],
include_package_data=True,
license="MIT",
description=("Django Comments Framework extension app with django-treebeard "
"support, follow up notifications and email "
"confirmations, as well as real-time comments using Firebase "
"for notifications."),
long_description=("A reusable Django app that uses django-treebeard "
"to create a threaded"
"comments Framework, following up "
"notifications and comments that only hits the "
"database after users confirm them by email."
"Real-time comment updates are also available using "
"Django channels as a notification mechanism of comment updates. "
"Clients can connect to channels for updates, and then query "
"the backend for the actual changes, so that all data is "
"located in the backend database."
),
author="Ed Henderson",
author_email="ed@sharpertool.com",
maintainer="Ed Henderson",
maintainer_email="ed@sharpertool.com",
keywords="django comments treebeard threaded django-channels websockets",
url="https://github.com/sharpertool/django-comments-tree",
project_urls={
'Documentation': 'https://django-comments-tree.readthedocs.io/en/latest/',
'Github': 'https://github.com/sharpertool/django-comments-tree',
'Original Package': 'https://github.com/danirus/django-comments-xtd',
},
python_requires='>=3.7',
install_requires=[
'Django>=2.2',
'django-treebeard>=4.1.0',
'djangorestframework>=3.6',
'draftjs_exporter>=2.1.6',
'django-markupfield>=1.5.1',
'markdown>=3.1.1',
'docutils',
'six',
],
extras_requires=[
],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Framework :: Django',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
'Natural Language :: English',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary',
],
test_suite="dummy",
zip_safe=True
)