-
Notifications
You must be signed in to change notification settings - Fork 25
/
setup.py
59 lines (53 loc) · 1.65 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from os import path
from setuptools import find_packages, setup
# Package meta-data.
NAME = 'django-notifs'
DESCRIPTION = 'Modular notifications for Django'
URL = 'https://github.com/danidee10/django-notifs'
EMAIL = '[email protected]'
AUTHOR = 'Osaetin Daniel'
REQUIRES_PYTHON = '>=3.6.0'
VERSION = '4.0.0'
REQUIRED = [
'django>=2.2',
'requests>=2.25.1',
'django-jsonfield-backport<=1.0.4',
'pydantic<=1.8.2',
]
TEST_REQUIRES = ['coverage>=5.4', 'channels<=3.0.3', 'tox<=3.24.4', 'moto[sqs]<=2.2.11']
EXTRAS_REQUIRE = {
# Backend requirements
'celery': ['celery<=4.1.0'],
'rq': ['django-rq<=2.4.0'],
'channels': ['channels<=3.0.3', 'channels-redis<=3.2.0'],
'sqs_lambda': ['boto3<=1.18.48'],
# Provider requirements
'fcm': ['pyfcm<=1.5.4'],
'pusher_channels': ['pusher<=3.0.0'],
'slack': ['slack_sdk<=3.11.2'],
'anymail': ['django-anymail<=8.4'],
'django_sms': ['django-sms<=0.5.0'],
'twitter': ['tweepy<=4.1.0'],
}
EXCLUDE = ['notifs', 'tests', '*.tests', '*.tests.*', 'tests.*']
current_directory = path.abspath(path.dirname(__file__))
with open(path.join(current_directory, 'README.md'), encoding='utf-8') as f:
LONG_DESCRIPTION = f.read()
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
author=AUTHOR,
author_email=EMAIL,
python_requires=REQUIRES_PYTHON,
url=URL,
packages=find_packages(exclude=EXCLUDE),
install_requires=REQUIRED,
test_requires=TEST_REQUIRES,
extras_require=EXTRAS_REQUIRE,
license='MIT',
)