forked from openwisp/openwisp-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
78 lines (77 loc) · 2.56 KB
/
setup.py
File metadata and controls
78 lines (77 loc) · 2.56 KB
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
#!/usr/bin/env python
from openwisp_utils import get_version
from setuptools import find_packages, setup
setup(
name="openwisp-utils",
version=get_version(),
license="BSD-3-Clause",
author="Various",
author_email="support@openwisp.io",
description="OpenWISP 2 Utilities",
long_description=open("README.rst").read(),
url="http://openwisp.org",
download_url="https://github.com/openwisp/openwisp-utils/releases",
platforms=["Platform Independent"],
keywords=["django", "netjson", "openwrt", "networking", "openwisp"],
packages=find_packages(exclude=["tests*", "docs*"]),
include_package_data=True,
entry_points={
"console_scripts": [
"checkmigrations = openwisp_utils.qa:check_migration_name",
"checkcommit = openwisp_utils.qa:check_commit_message",
]
},
scripts=["openwisp-qa-check", "openwisp-qa-format", "openwisp-pre-push-hook"],
zip_safe=False,
install_requires=[
"django-model-utils>=4.5,<5.1",
"django-compress-staticfiles~=1.0.1b",
"django-admin-autocomplete-filter~=0.7.1",
"swapper~=1.4.0",
# allow wider range here to avoid interfering with other modules
"urllib3>=2.0.0,<3.0.0",
"distro~=1.9.0",
],
extras_require={
"qa": [
"black>=25.1,<25.12",
"flake8~=7.3.0",
"isort>=6.0.1,<7.1.0",
"coverage>=7.10.0,<7.13.0",
"tblib~=3.2.2",
"docstrfmt>=2.0.0,<2.1.0",
],
"rest": [
"djangorestframework~=3.16.0",
"django-filter>=25.1,<26.0", # django-filter uses CalVer
"drf-yasg~=1.21.7",
],
"channels": [
"channels[daphne]~=4.3.0",
"channels_redis>=4.2.1,<4.4.0",
],
"channels-test": [
"pytest-asyncio>=0.24,<1.3",
"pytest-django>=4.10,<4.12",
],
"celery": ["celery~=5.5.3"],
"selenium": ["selenium>=4.10,<4.39"],
"releaser": [
"git-cliff~=2.10.0",
"questionary~=2.1.0",
"pypandoc~=1.15",
"pypandoc-binary~=1.15",
],
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Topic :: Internet :: WWW/HTTP",
"Topic :: System :: Networking",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Framework :: Django",
"Programming Language :: Python :: 3",
],
)