-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
83 lines (66 loc) · 2.79 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
# -*- coding: utf-8 -*-
# =============================================================================
# Project Configuration
# =============================================================================
[tool.poetry]
name = "swing_hello"
version = "0.1.3"
description = "A Django plugin that provides basic views for response handling and template rendering."
authors = ["Scape Agency <info@scapeagency.com>"]
license = "MIT"
readme = "README.md"
homepage = "https://www.swing.dj"
repository = "https://github.com/scape-agency/swing-hello"
documentation = "https://hello.swing.dj"
keywords = ["Django", "plugin", "views", "template", "response-handling"]
classifiers = [
"Development Status :: 3 - Alpha",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
]
include = [
"src/**",
"README.md",
"LICENSE"
]
# =============================================================================
# Dependencies
# =============================================================================
[tool.poetry.dependencies]
python = ">=3.10,<4.0"
Django = "^5.1"
# =============================================================================
# Development Dependencies
# =============================================================================
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.4"
pytest-django = "^4.5.2"
pytest-cov = "^6.0.0" # Code coverage for tests
black = ">=24.8,<26.0" # Code formatter
flake8 = "^7.1.0" # Linter for code quality
mypy = "^1.14.1" # Static type checker
sphinx = "^8.0.2" # Documentation generator
isort = ">=5.10.1,<7.0.0" # Import sorter
tox = "^4.4.6" # Testing multiple environments
pre-commit = ">=3.4,<5.0" # Pre-commit hooks for linting and formatting
# =============================================================================
# Build System
# =============================================================================
[build-system]
requires = ["poetry-core>=1.5.0"]
build-backend = "poetry.core.masonry.api"
# =============================================================================
# Scripts
# =============================================================================
[tool.poetry.scripts]
swing_hello = "swing_hello.__main__:main" # Entry point for the package
# =============================================================================
# Plugins
# =============================================================================
[tool.poetry.plugins."django.apps"]
"swing_hello" = "swing_hello.apps.HelloConfig"