-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
129 lines (118 loc) · 3.58 KB
/
Copy pathpyproject.toml
File metadata and controls
129 lines (118 loc) · 3.58 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
[build-system]
requires = ["setuptools >= 40.6.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = [
"minchin*",
"pelican*"
]
exclude = [
"build",
"dist",
"docs",
"env",
"test",
"tests",
"test-site",
]
[tool.setuptools.dynamic]
# this has to be the place the version is located via static analysis
version = {attr = "minchin.pelican.plugins.nojekyll.__version__"}
# description = {attr = "minchin.jrnl.__description__"} # must be pulled from file
readme = {file = ["README.rst"], content-type = "text/x-rst"}
# dependencies = {file = [".requirements/base.in"]}
[tool.setuptools.dynamic.optional-dependencies]
# dev = {file = [".requirements/dev.in"] }
# release = {file = [".requirements/release.in"] }
# docs = {file = [".requirements/docs.in"] }
[project]
name = "minchin.pelican.plugins.nojekyll"
description = "Pelican plugin that adds a `.nojekyll` file to the output root. Useful for publishing to Github Pages. Written in Python."
dynamic = [
"version",
# "description",
"readme",
# "dependencies",
# "optional-dependencies",
]
authors = [
{name = "William Minchin", email="w_minchin@hotmail.com" },
]
maintainers = [
{name = "William Minchin", email="w_minchin@hotmail.com" },
]
dependencies = [
"pelican",
"minchin.pelican.plugins.autoloader != 1.2.0",
]
license = "MIT"
license-files = ["LICEN[CS]E*", ]
classifiers = [
# 'Development Status :: 1 - Planning',
# 'Development Status :: 2 - Pre-Alpha',
# 'Development Status :: 3 - Alpha',
# "Development Status :: 4 - Beta",
"Development Status :: 5 - Production/Stable",
# 'Development Status :: 6 - Mature',
# 'Development Status :: 7 - Inactive',
"Environment :: Console",
"Framework :: Pelican :: Plugins",
"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",
# "Programming Language :: Python :: 3.13",
# "Programming Language :: Python :: 3.14",
# "Programming Language :: Python :: 3 :: Only",
"Natural Language :: English",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[project.optional-dependencies]
build = [
# "pip-tools",
"minchin.releaser >= 0.8.2",
]
# docs = [
# # 'sphinx >= 1.4', # theme requires at least 1.4
# # 'cloud_sptheme >= 1.8',
# # 'releases',
# # 'Babel >= 1.3, != 2.0', # 2.0 breaks on Windows
# ]
# test = [
# # 'green >= 1.9.4', # v2 works
# # 'coverage',
# # 'isort',
# # 'pydocstyle',
# # 'pycodestyle',
# # 'check-manifest'
# "pytest",
# # https://pypi.org/project/pytest-xdist/
# ]
# dev = [
# "markdown",
# "minchin.pelican.plugins.nojekyll",
# ]
lint = [
"black",
"isort",
]
[project.urls]
# "Homepage" =
"Bug Tracker" = "https://github.com/pelican-plugins/nojekyll/issues"
# Documentation =
Repository = "https://github.com/pelican-plugins/nojekyll"
Changelog = "https://github.com/pelican-plugins/nojekyll/blob/master/CHANGELOG.rst"
# "Release Notes"
[tool.isort]
# Maintain compatibility with Black
profile = "black"
# Sort imports within their section independent of the import type
force_sort_within_sections = true
# Designate "pelican" as separate import section
known_pelican = "pelican"
known_first_party = "minchin"
sections = "FUTURE,STDLIB,THIRDPARTY,PELICAN,FIRSTPARTY,LOCALFOLDER"