forked from codingjoe/django-stdimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
96 lines (83 loc) · 2.14 KB
/
Copy pathsetup.cfg
File metadata and controls
96 lines (83 loc) · 2.14 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[metadata]
name = django-stdimage
author = Johannes Hoppe
author_email = info@johanneshoppe.com
description = Django Standarized Image Field
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/codingjoe/django-stdimage
license = MIT
license_file = LICENSE
classifier =
Development Status :: 5 - Production/Stable
Environment :: Web Environment
Framework :: Django
Topic :: Multimedia :: Graphics :: Graphics Conversion
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python
Topic :: Software Development
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Framework :: Django
[options]
include_package_data = True
packages = stdimage
install_requires =
Django>=1.11
pillow>=2.5
progressbar2>=3.0.0
setup_requires =
setuptools_scm
pytest-runner
tests_require =
pytest>=4.0,<5.0
pytest-cov
pytest-django
[options.package_data]
* = *.txt, *.rst, *.html, *.po
[options.packages.find]
exclude =
tests
[bdist_wheel]
universal = 1
[aliases]
test = pytest
[tool:pytest]
norecursedirs=venv env .eggs
DJANGO_SETTINGS_MODULE=tests.settings
addopts = --cov=stdimage --cov-report xml --tb=short -rxs --nomigrations
[tox:tox]
envlist = py{36,37}-dj{111,22,master}
[testenv]
deps =
dj111: https://github.com/django/django/archive/stable/1.11.x.tar.gz#egg=django
dj22: https://github.com/django/django/archive/stable/2.2.x.tar.gz#egg=django
djmaster: https://github.com/django/django/archive/master.tar.gz#egg=django
commands = python setup.py test
[flake8]
max-line-length = 88
statistics = true
show-source = true
exclude = */migrations/*,docs/*,env/*,venv/*,.tox/*,.eggs
[pydocstyle]
add-ignore = D1
match-dir = (?!tests|env|docs|\.).*
[coverage:run]
source = .
omit =
*/migrations/*
*/tests/*
*/test_*.py
.tox
[coverage:report]
ignore_errors = True
show_missing = True
[isort]
atomic = true
line_length = 88
known_first_party = stdimage, tests
include_trailing_comma = True
default_section=THIRDPARTY
combine_as_imports = true