-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.cfg
123 lines (110 loc) · 2.45 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
116
117
118
119
120
121
122
123
# setuptools config
# see http://setuptools.readthedocs.io/en/latest/setuptools.html#configuring-setup-using-setup-cfg-files
[metadata]
name = django-privates
version = 2.0.0.post1
description = Simple private media integration for Django
long_description = file: README.rst
url = https://github.com/sergei-maertens/django-privates
license =
author = Sergei Maertens
author_email = [email protected]
keywords = django, media, private, storage
classifiers =
Development Status :: 5 - Production/Stable
Framework :: Django
Framework :: Django :: 3.2
Framework :: Django :: 4.1
Framework :: Django :: 4.2
Intended Audience :: Developers
Operating System :: Unix
Operating System :: MacOS
Operating System :: Microsoft :: Windows
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Topic :: Software Development :: Libraries :: Python Modules
[options]
zip_safe = False
include_package_data = True
packages = find:
install_requires =
django >= 3.2
django-sendfile2 > 0.5
tests_require =
Pillow
pytest
pytest-pythonpath
pytest-django
tox
pyquery
isort
black
django-stubs[compatible-mypy]
[options.extras_require]
tests =
Pillow
pytest
pytest-pythonpath
pytest-django
tox
pyquery
isort
black
django-stubs[compatible-mypy]
pep8 = flake8
coverage = pytest-cov
docs =
sphinx
sphinx-rtd-theme
release =
twine
bump2version
[options.packages.find]
include =
privates
privates.*
exclude =
tests
tests.*
testapp
testapp.*
# 3rd party configuration
[aliases]
test=pytest
[isort]
combine_as_imports = true
default_section = THIRDPARTY
include_trailing_comma = true
line_length = 88
multi_line_output = 3
skip = env,.tox,.history,.eggs
skip_glob = */migrations/*
known_django=django
known_first_party=privates
sections=FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
[tool:pytest]
testpaths = tests
DJANGO_SETTINGS_MODULE=testapp.settings
junit_family=xunit1
[coverage:run]
branch = True
source = privates
omit =
*/migrations/*
testapp/*
tests/*
[pep8]
max-line-length=119
exclude=env,.tox,doc
[flake8]
max-line-length=119
exclude=env,.tox,doc
[mypy]
plugins =
mypy_django_plugin.main
[mypy.plugins.django-stubs]
django_settings_module = "testapp.settings"
[mypy-django_sendfile]
ignore_missing_imports = True