-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
45 lines (40 loc) · 1.09 KB
/
pyproject.toml
File metadata and controls
45 lines (40 loc) · 1.09 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
[build-system]
requires = [
"setuptools>=45",
"wheel",
"setuptools_scm[toml]>=6.2"
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
# Configure setuptools_scm for version management:
# - Automatically infers the version number from the most recent git tag
# - Generates a version.py file in the package directory
# - Allows for automatic versioning between releases (e.g., 1.0.1.dev4+g12345)
# If you want to use the version anywhere in the code, use
# ```
# from bibtex_linter.version import version
# print(f"Project version: {version}")
# ```
version_file = "bibtex_linter/version.py"
[project]
name = "bibtex_linter"
dynamic = ["version"]
description = "A Python tool to parse BibTeX entries and run (custom) checks on them."
authors = [
{name = "Sebastian Heppner", email = "mail@s-heppner.com"}
]
license = {text = "MIT"}
readme = "README.md"
requires-python = ">=3.11"
[project.optional-dependencies]
dev = [
"mypy",
"pycodestyle",
"coverage",
]
[tool.pytest.ini_options]
testpaths = [
"test"
]
[project.scripts]
bibtex_linter = "bibtex_linter.main:main"