forked from SmileyChris/django-countries
-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.cfg
115 lines (104 loc) · 2.6 KB
/
setup.cfg
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[metadata]
name = django-countries
version = 7.6.dev0
description = Provides a country field for Django models.
long_description = file: README.rst, CHANGES.rst
author = Chris Beaven
author_email = [email protected]
url = https://github.com/SmileyChris/django-countries/
keywords = django, countries, flags
license = MIT
classifiers =
Development Status :: 5 - Production/Stable
Environment :: Web Environment
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Framework :: Django
Framework :: Django :: 3.2
Framework :: Django :: 4.0
Framework :: Django :: 4.1
project_urls =
Change Log = https://github.com/SmileyChris/django-countries/blob/main/CHANGES.rst
Source Code = https://github.com/SmileyChris/django-countries
[options]
zip_safe = False
include_package_data = True
packages = find:
install_requires =
asgiref
typing_extensions
[options.extras_require]
maintainer =
transifex-client
zest.releaser[recommended]
django
dev =
tox
black
django
pytest
pytest-django
djangorestframework
graphene-django
test =
pytest
pytest-django
pytest-cov
djangorestframework
graphene-django
pyuca =
pyuca
[bdist_wheel]
# No longer universal (Python 3 only) but leaving this section in here will
# trigger zest to build a wheel.
universal = 0
[flake8]
exclude =
.tox,
.git,
__pycache__,
build,
dist
# black-compatible settings
max-line-length = 88
ignore = E203,W503
[coverage:run]
source = django_countries
omit =
django_countries/release.py
django_countries/makesprite.py
django_countries/tests/settings*.py
parallel = True
[coverage:report]
exclude_lines =
pragma: no cover
@overload
if TYPE_CHECKING:
[zest.releaser]
less-zeros = yes
version-levels = 2
tag-format = v{version}
tag-message = Version {version}
tag-signing = yes
date-format = %%-d %%B %%Y
prereleaser.middle =
django_countries.release.translations
[check-manifest]
ignore-bad-ideas = *.mo
[tool:pytest]
DJANGO_SETTINGS_MODULE = django_countries.tests.settings
filterwarnings =
ignore::DeprecationWarning:graphene
[mypy]
plugins = mypy_django_plugin.main
disallow_untyped_calls = true
[mypy.plugins.django-stubs]
django_settings_module = django_countries.tests.settings