forked from django-cms/django-filer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
138 lines (127 loc) · 3.27 KB
/
pyproject.toml
File metadata and controls
138 lines (127 loc) · 3.27 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
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
[build-system]
requires = ["setuptools>=45", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "django-filer"
dynamic = ["version"]
authors = [
{name = "Divio AG", email = "info@divio.ch"},
]
maintainers = [
{name = "Django CMS Association and contributors", email = "info@django-cms.org"},
]
description = "A file management application for django that makes handling of files and images a breeze."
readme = "README.rst"
license = {text = "BSD-3-Clause"}
requires-python = ">=3.8"
dependencies = [
"django>=3.2",
"django-polymorphic",
"easy-thumbnails[svg]",
# Pin svglib to a version below 1.6.0.
# The latest version (1.6.0) adds pycairo as a dependency,
# which requires system-level libraries and fails to install in the container.
# This can be removed once the issue is resolved.
# See: https://github.com/deeplook/svglib/issues/421
"svglib~=1.5.1"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Framework :: Django :: 5.2",
"Framework :: Django :: 6.0",
"Framework :: Django CMS",
"Framework :: Django CMS :: 3.11",
"Framework :: Django CMS :: 4.0",
"Framework :: Django CMS :: 4.1",
"Framework :: Django CMS :: 5.0",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
]
[project.optional-dependencies]
heif = ["pillow-heif"]
[project.urls]
Homepage = "https://github.com/django-cms/django-filer"
[tool.setuptools]
include-package-data = true
zip-safe = false
[tool.setuptools.packages.find]
where = ["."]
include = ["filer*", "LICENSE"]
[tool.setuptools.package-data]
"*" = [
"templates/**/*.html",
"static/**/*",
"locale/**/*",
"*.po",
"*.mo",
]
[tool.setuptools.dynamic]
version = {attr = "filer.__version__"}
[tool.flake8]
max-line-length = 119
exclude = [
"*.egg-info",
".eggs",
".env",
".git",
".settings",
".tox",
".venv",
"build",
"data",
"dist",
"docs",
"*migrations*",
"tmp",
"node_modules",
]
ignore = ["E251", "E128", "E501", "W503"]
[tool.isort]
line_length = 119
skip = [
"manage.py",
"*migrations*",
".tox",
".eggs",
"data",
".env",
".venv",
]
include_trailing_comma = true
multi_line_output = 5
lines_after_imports = 2
default_section = "THIRDPARTY"
sections = [
"FUTURE",
"STDLIB",
"DJANGO",
"CMS",
"THIRDPARTY",
"FIRSTPARTY",
"LOCALFOLDER",
]
known_first_party = ["filer"]
known_cms = ["cms", "menus"]
known_django = ["django"]
[tool.ruff]
src = ["filer"]
exclude = ["*/migrations/*"]
line-length = 119