-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
pyproject.toml
105 lines (95 loc) · 3.2 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
[project]
# Docs: https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
name = "plumage"
version = "5.0.0"
# Python versions and their status: https://devguide.python.org/versions/
requires-python = ">= 3.10"
description = "Clean and tidy theme for Pelican"
authors = [{ name = "Kevin Deldycke", email = "[email protected]" }]
readme = "readme.md"
keywords = [
'pelican',
'pelican-theme',
'stork',
'static-search',
'markdown',
'masonry',
'myst',
'theme',
'bootstrap',
]
classifiers = [
# See: https://pypi.org/pypi?%3Aaction=list_classifiers
'Development Status :: 5 - Production/Stable',
'Environment :: Plugins',
'Environment :: Web Environment',
'Framework :: Pelican :: Themes',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
'Operating System :: OS Independent',
'Programming Language :: JavaScript',
'Programming Language :: Other',
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Indexing/Search',
'Topic :: Text Processing :: Markup :: HTML',
'Topic :: Text Processing :: Markup :: Markdown',
'Typing :: Typed',
]
dependencies = [
"cssmin ~= 0.2.0", # XXX Unmaintained!
"libsass ~= 0.23.0",
"pelican >= 4.8.0",
"pelican-myst-reader ~= 1.4.0",
"pelican-webassets ~= 2.0.0",
"pygments ~= 2.18.0",
"pynpm ~= 0.2.0",
"pyquery ~= 2.0.0",
]
[tool.setuptools.package-data]
# Add all content found within the ./plumage subfolder.
plumage = ["**"]
[tool.setuptools.exclude-package-data]
# Exclude the locked JS dependencies file.
plumage = ["package-lock.json"]
[project.optional-dependencies]
djlint = ["djlint ~= 1.35.2"]
[project.urls]
"Homepage" = 'https://github.com/kdeldycke/plumage'
"Documentation" = 'https://github.com/kdeldycke/plumage#settings'
"Repository" = 'https://github.com/kdeldycke/plumage'
"Funding" = "https://github.com/sponsors/kdeldycke"
"Issues" = "https://github.com/kdeldycke/plumage/issues"
"Changelog" = "https://github.com/kdeldycke/plumage/blob/main/changelog.md"
[tool.mypy]
warn_unused_configs = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
warn_unreachable = true
pretty = true
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = ["pyquery", "pynpm", "pelican.*"]
[tool.bumpversion]
current_version = "5.0.0"
allow_dirty = true
[[tool.bumpversion.files]]
# Update Python package version in any __init__.py file.
glob = "./**/__init__.py"
ignore_missing_version = true
[[tool.bumpversion.files]]
# Update version in project section.
filename = "./pyproject.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'
[[tool.bumpversion.files]]
# Update the version in standard Markdown changelog.
filename = "./changelog.md"
search = "## [{current_version} (unreleased)]("
replace = "## [{new_version} (unreleased)]("