-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
89 lines (83 loc) · 2.43 KB
/
pyproject.toml
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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "laces"
authors = [{name = "Tibor Leupold", email = "tibor@lpld.io"}]
description = "Django components that know how to render themselves."
readme = "README.md"
license = {file = "LICENSE"}
classifiers = [
# https://pypi.org/classifiers/
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
]
requires-python = ">=3.8"
dynamic = ["version"]
dependencies = [
"Django>=3.2",
]
[project.optional-dependencies]
testing = [
"dj-database-url==2.1.0",
# Running tests with coverage inside the tox test environment.
"coverage==7.3.4",
]
dev = [
"tox==4.12.1",
"tox-gh-actions==3.2.0",
# Allow use of pyenv for virtual environments. To enable you need to set `VIRTUALENV_DISCOVERY=pyenv` in the shell.
# This is useful to help tox find the correct python version when using pyenv.
"virtualenv-pyenv==0.4.0",
# This is to have coverage available in the development environment.
# It's not great that it's duplicated, but I can't find a way to make it work with tox otherwise.
"coverage==7.3.4",
# Linting etc.
"pre-commit==3.4.0",
"black==24.1.1",
"blacken-docs==1.16.0",
"isort==5.13.2",
"flake8==7.0.0",
"flake8-bugbear",
"flake8-comprehensions",
"mypy==1.7.1",
"django-stubs[compatible-mypy]==4.2.7",
"types-requests==2.31.0.20240125",
]
[project.urls]
Home = "https://github.com/tbrlpld/laces"
[tool.flit.module]
name = "laces"
[tool.flit.sdist]
exclude = [
"laces/static_src",
"laces/test",
"laces/static/laces/js/.gitignore",
"testmanage.py",
".*",
"*.js",
"*.json",
"*.ini",
"*.yml"
]
[tool.mypy]
files = ["."]
plugins = ["mypy_django_plugin.main"]
strict = true
[tool.django-stubs]
django_settings_module = "laces.test.settings"