forked from django-notifications/django-notifications
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·73 lines (67 loc) · 2.3 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
''' Django notification setup file for pip package '''
import ast
import re
try:
from setuptools import setup
except ImportError:
from distutils.core import setup # pylint: disable=no-name-in-module,import-error
_version_re = re.compile(r'__version__\s+=\s+(.*)') # pylint: disable=invalid-name
with open('notifications/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search( # pylint: disable=invalid-name
f.read().decode('utf-8')).group(1)))
setup(
name='django-notifications-hq',
version=version,
description='GitHub notifications alike app for Django.',
long_description=open('README.rst').read(),
author='django-notifications team',
author_email='[email protected]',
url='http://github.com/django-notifications/django-notifications',
install_requires=[
'django>=2.2.0',
'django-model-utils>=2.0.3',
'jsonfield2>=3.1.0',
'pytz',
'swapper',
'six'
],
test_requires=[
'django>=2.2.0',
'django-model-utils>=2.0.3',
'jsonfield2>=3.1.0',
'pytz',
'six'
],
packages=[
'notifications',
'notifications.base',
'notifications.templatetags',
'notifications.migrations',
],
package_data={
'notifications': ['templates/notifications/*.html', 'static/notifications/*.js']
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Framework :: Django',
'Framework :: Django :: 2.2.0',
'Framework :: Django :: 3.0.0',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Utilities'
],
keywords='django notifications github action event stream',
license='MIT',
)