-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (68 loc) · 2.05 KB
/
Copy pathpyproject.toml
File metadata and controls
81 lines (68 loc) · 2.05 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "webifier"
dynamic = ["version"]
description = "Cook up a fully functional static website from YAML and Markdown."
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
authors = [
{ name = "Vahid Zehtab", email = "contact@vahidz.com" },
{ name = "Ahmad Salimi", email = "ahsa9978@gmail.com" },
]
keywords = ["webifier", "jupyter notebook", "markdown", "jinja2", "static site"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"beautifulsoup4",
"jinja2>=3.0,<3.2",
"markdown",
"pygments",
"pyyaml",
"webifier-extensions>=1.0.4",
]
[project.optional-dependencies]
dev = [
"pytest",
"ruff",
]
[project.scripts]
webify = "webifier.interface.cli:main"
[project.urls]
Homepage = "https://github.com/webifier/build"
Repository = "https://github.com/webifier/build"
Issues = "https://github.com/webifier/build/issues"
# --- Version: single source of truth from git tags ---
[tool.hatch.version]
source = "vcs"
[tool.hatch.version.raw-options]
version_scheme = "no-guess-dev"
[tool.hatch.build.hooks.vcs]
version-file = "webifier/_version.py"
# --- Include non-Python assets in the wheel ---
[tool.hatch.build.targets.wheel]
packages = ["webifier"]
[tool.hatch.build.targets.wheel.force-include]
# Covered by package discovery, but explicit for clarity:
# all assets (templates, css, images) under webifier/ are included
# --- Ruff (replaces flake8 + isort + black) ---
[tool.ruff]
target-version = "py310"
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
[tool.ruff.lint.isort]
known-first-party = ["webifier"]
# --- Pytest ---
[tool.pytest.ini_options]
testpaths = ["tests"]