-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
102 lines (91 loc) · 2.56 KB
/
pyproject.toml
File metadata and controls
102 lines (91 loc) · 2.56 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[build-system]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "jsweb"
version = "1.2.1"
description = "JsWeb - A lightweight and modern Python web framework designed for speed and simplicity."
readme = "README.md"
requires-python = ">=3.8"
license = {text = "MIT"}
authors = [
{ name = "Jones Peter", email = "jonespetersoftware@gmail.com" }
]
keywords = [
"JsWeb", "Framework", "Web", "Python", "ASGI", "Web Server", "ORM",
"Database", "Routing", "Authentication", "Forms", "CLI", "Admin"
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"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",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Application Frameworks"
]
dependencies = [
"jinja2",
"sqlalchemy",
"werkzeug",
"itsdangerous",
"alembic",
"markupsafe",
"uvicorn",
"pydantic>=2.0,<3.0" # Required for DTO system and OpenAPI docs
]
[project.optional-dependencies]
dev = [
# Development server
"watchdog>=3.0",
"websockets>=11.0",
# Testing
"pytest>=7.4",
"pytest-cov>=4.1",
"pytest-asyncio>=0.21",
# Code formatting
"black>=24.0",
"isort>=5.12",
# Linting
"flake8>=7.0",
"flake8-bugbear>=23.0",
"flake8-comprehensions>=3.14",
# Type checking
"mypy>=1.7",
# Security scanning
"bandit>=1.7",
"safety>=2.3",
# Pre-commit hooks
"pre-commit>=3.5",
]
qr = ["qrcode[pil]"]
postgresql = ["psycopg2-binary"]
[project.scripts]
jsweb = "jsweb.cli:cli"
[project.urls]
Documentation = "https://jsweb-framework.site/"
Homepage = "https://github.com/Jones-peter/jsweb"
"Bug Tracker" = "https://github.com/Jones-peter/jsweb/issues"
[tool.setuptools.packages.find]
where = ["."]
include = ["jsweb*"]
[tool.setuptools.package-data]
jsweb = [
# Core framework files
"templates/*.html",
"static/*.css",
"static/*.js",
"static/*.png",
# Project generation templates
"project_templates/*.jinja",
"project_templates/alembic/*",
# --- UPDATED FOR ADMIN SUB-PACKAGE ---
# Include all templates and static files from within the new 'admin' package
"admin/templates/*.html",
"admin/static/*"
]