Skip to content

Commit 5f48cd7

Browse files
committed
chore: Collect meta information in pyproject.toml
1 parent 82c6fa8 commit 5f48cd7

File tree

3 files changed

+113
-105
lines changed

3 files changed

+113
-105
lines changed

pyproject.toml

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
[build-system]
2+
requires = ["setuptools>=45", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "django-filer"
7+
dynamic = ["version"]
8+
authors = [
9+
{name = "Divio AG", email = "[email protected]"},
10+
]
11+
maintainers = [
12+
{name = "Django CMS Association and contributors", email = "[email protected]"},
13+
]
14+
description = "A file management application for django that makes handling of files and images a breeze."
15+
readme = "README.rst"
16+
license = {text = "BSD-3-Clause"}
17+
requires-python = ">=3.8"
18+
dependencies = [
19+
"django>=3.2",
20+
"django-polymorphic",
21+
"easy-thumbnails[svg]",
22+
]
23+
classifiers = [
24+
"Development Status :: 5 - Production/Stable",
25+
"Environment :: Web Environment",
26+
"Intended Audience :: Developers",
27+
"License :: OSI Approved :: BSD License",
28+
"Operating System :: OS Independent",
29+
"Programming Language :: Python",
30+
"Programming Language :: Python :: 3",
31+
"Programming Language :: Python :: 3.8",
32+
"Programming Language :: Python :: 3.9",
33+
"Programming Language :: Python :: 3.10",
34+
"Programming Language :: Python :: 3.11",
35+
"Programming Language :: Python :: 3.12",
36+
"Framework :: Django",
37+
"Framework :: Django :: 3.2",
38+
"Framework :: Django :: 4.2",
39+
"Framework :: Django :: 5.0",
40+
"Framework :: Django :: 5.1",
41+
"Framework :: Django :: 5.2",
42+
"Framework :: Django CMS",
43+
"Framework :: Django CMS :: 3.11",
44+
"Framework :: Django CMS :: 4.0",
45+
"Framework :: Django CMS :: 4.1",
46+
"Framework :: Django CMS :: 5.0",
47+
"Topic :: Internet :: WWW/HTTP",
48+
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
49+
"Topic :: Software Development",
50+
"Topic :: Software Development :: Libraries",
51+
]
52+
53+
[project.optional-dependencies]
54+
heif = ["pillow-heif"]
55+
56+
[project.urls]
57+
Homepage = "https://github.com/django-cms/django-filer"
58+
59+
[tool.setuptools]
60+
packages = ["filer"]
61+
include-package-data = true
62+
zip-safe = false
63+
64+
[tool.setuptools.dynamic]
65+
version = {attr = "filer.__version__"}
66+
67+
[tool.flake8]
68+
max-line-length = 119
69+
exclude = [
70+
"*.egg-info",
71+
".eggs",
72+
".env",
73+
".git",
74+
".settings",
75+
".tox",
76+
".venv",
77+
"build",
78+
"data",
79+
"dist",
80+
"docs",
81+
"*migrations*",
82+
"tmp",
83+
"node_modules",
84+
]
85+
ignore = ["E251", "E128", "E501", "W503"]
86+
87+
[tool.isort]
88+
line_length = 119
89+
skip = [
90+
"manage.py",
91+
"*migrations*",
92+
".tox",
93+
".eggs",
94+
"data",
95+
".env",
96+
".venv",
97+
]
98+
include_trailing_comma = true
99+
multi_line_output = 5
100+
lines_after_imports = 2
101+
default_section = "THIRDPARTY"
102+
sections = [
103+
"FUTURE",
104+
"STDLIB",
105+
"DJANGO",
106+
"CMS",
107+
"THIRDPARTY",
108+
"FIRSTPARTY",
109+
"LOCALFOLDER",
110+
]
111+
known_first_party = ["filer"]
112+
known_cms = ["cms", "menus"]
113+
known_django = ["django"]

setup.cfg

Lines changed: 0 additions & 30 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 75 deletions
This file was deleted.

0 commit comments

Comments
 (0)