-
-
Notifications
You must be signed in to change notification settings - Fork 74
/
Copy pathsetup.py
63 lines (62 loc) · 2.15 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
#!/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.0',
'django-compress-staticfiles~=1.0.1b',
'django-admin-autocomplete-filter~=0.7.1',
'swapper~=1.3.0',
# allow wider range here to avoid interfering with other modules
'urllib3>=2.0.0,<3.0.0',
],
extras_require={
'qa': [
'black~=23.12.1',
'flake8~=7.1.0',
'isort~=5.13.2',
'coveralls~=4.0.1', # depends on coverage as well
'tblib~=3.0.0',
'docstrfmt~=1.8.0',
],
'rest': [
'djangorestframework>=3.14,<3.15.2',
'django-filter~=23.2', # django-filter uses CalVer
'drf-yasg~=1.21.7',
],
'celery': ['celery~=5.4.0'],
'selenium': ['selenium>=4.10,<4.24'],
},
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',
],
)