-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathsetup.cfg
84 lines (73 loc) · 1.91 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
[metadata]
name = django-s3file
author = Johannes Hoppe
author_email = [email protected]
description = A lightweight file uploader input for Django and Amazon S3
long_description = file: README.rst
url = https://github.com/codingjoe/django-s3file
license = MIT
license_file = LICENSE
classifier =
Development Status :: 6 - Mature
Environment :: Web Environment
Framework :: Django
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
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Framework :: Django
Framework :: Django :: 1.11
Framework :: Django :: 2.2
[options]
include_package_data = True
packages = find:
install_requires =
django>=2.0
django-storages
boto3
setup_requires =
setuptools_scm
pytest-runner
tests_require =
pytest
pytest-cov
pytest-django
selenium
[options.package_data]
* = *.txt, *.rst, *.html, *.po
[options.packages.find]
exclude =
tests
[bdist_wheel]
universal = 1
[aliases]
test = pytest
[tool:pytest]
addopts = --cov=s3file --cov-report xml --tb=short -rxs
DJANGO_SETTINGS_MODULE=tests.testapp.settings
[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
exclude = venv,.tox,.eggs
[pydocstyle]
add_ignore = D1
[isort]
atomic = true
line_length = 88
known_first_party = s3file, tests
include_trailing_comma = True
default_section=THIRDPARTY
combine_as_imports = true