-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (70 loc) · 2.1 KB
/
Copy pathpyproject.toml
File metadata and controls
80 lines (70 loc) · 2.1 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "django-schematic"
version = "1.3.14"
description = "Interactive schema visualization for Django projects — React Flow + force-directed layout"
readme = "README.md"
license = { file = "LICENSE" }
authors = [
{ name = "Jeff Sheffield", email = "jeff.sheffield@gmail.com" }
]
requires-python = ">=3.12"
dependencies = [
"django>=5.1",
]
keywords = ["django", "schema", "visualization", "graph", "models"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Django",
"Framework :: Django :: 5.1",
"Framework :: Django :: 5.2",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet :: WWW/HTTP",
"Environment :: Web Environment",
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-django",
"mypy",
"django-stubs",
]
ci = [
"playwright",
]
[project.urls]
Homepage = "https://github.com/jsheffie/django-schematic"
Issues = "https://github.com/jsheffie/django-schematic/issues"
Changelog = "https://github.com/jsheffie/django-schematic/releases"
[tool.hatch.build.hooks.custom]
# Runs hatch_build.py before packaging — builds the frontend (npm ci + npm run build)
[tool.hatch.build.targets.wheel]
packages = ["schematic"]
[tool.hatch.build.targets.wheel.force-include]
"schematic/static/schematic/main.js" = "schematic/static/schematic/main.js"
"schematic/static/schematic/main.css" = "schematic/static/schematic/main.css"
[tool.hatch.build.targets.sdist]
include = [
"schematic/",
"hatch_build.py",
"ui/",
"LICENSE",
"README.md",
"pyproject.toml",
]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.settings"
pythonpath = ["."]
[tool.mypy]
python_version = "3.12"
strict = true
plugins = ["mypy_django_plugin.main"]
[tool.django-stubs]
django_settings_module = "tests.settings"