-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpyproject.toml
106 lines (98 loc) · 2.47 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[project]
name = "django-db-views"
version = "0.1.9"
description = """
Handle database views.
Allow to create migrations for database views.
View migrations using django code.
They can be reversed.
Changes in model view definition are detected automatically.
Support almost all options as regular makemigrations command
"""
keywords = [
"views",
"database views",
"django",
"database perspective",
"view migrations",
"database table function",
"django materialized views",
]
authors = [
{name = "Bartłomiej Nowak", email = "[email protected]"},
{name = "Mariusz Okulanis"},
]
maintainers = [
{name = "Bartłomiej Nowak", email = "[email protected]"}
]
license = {text = "MIT License"}
readme = {file = "README.md", content-type = "text/markdown"}
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
py_modules = ["six"]
dependencies = [
"six",
"django>=2.2"
]
[project.urls]
Homepage = "https://github.com/BezBartek/django-db-views"
Documentation = "https://github.com/BezBartek/django-db-views/blob/master/README.md"
Repository = "https://github.com/BezBartek/django-db-views"
Issues = "https://github.com/BezBartek/django-db-views/issues"
Changelog = "https://github.com/BezBartek/django-db-views/blob/master/CHANGELOG.md"
[project.optional-dependencies]
dev = [
"pre-commit==3.6.0",
]
tests = [
"psycopg2==2.9.3",
"pytest-django==4.5.2",
"django-environ==0.9.0",
"mysqlclient==2.2.1",
"pytest-mock==3.8.2",
"tox==3.25.1",
"build==1.2.1",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
include = [
'/README.md',
'/CHANGELOG.md',
'/LICENSE',
'/django_db_views'
]
[tool.pytest.ini_options]
addopts = "--migrations --create-db"
env = [
"PYTHONDONTWRITEBYTECODE = 1"
]
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = True
requires = tox-conda
envlist = py39-dj{22,32,40,41}, py310-dj{22,32,40,41,42,50}, py311-dj{22,32,40,41,42,50}
[testenv]
conda_channels=
conda-forge
conda_install_args=
--override-channels
setenv =
PYTHONDONTWRITEBYTECODE=1
conda_deps =
psycopg2
pytest-django
mysqlclient==2.2.1
pytest-mock
deps =
django-environ==0.9.0
commands = pytest tests/
"""