-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
109 lines (96 loc) · 3.04 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
106
107
108
109
[build-system]
requires = ["poetry-core (>=2.0.0)", "poetry-dynamic-versioning (>=1.5.2,<2.0.0)"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry]
requires-poetry = ">=2.0.0"
packages = [ { include="CedarBackup3", from="src" } ]
include = [
{ path='Changelog', format='sdist' },
{ path='NOTICE', format='sdist' },
{ path='LICENSE', format='sdist' },
{ path='README.md', format='sdist' },
{ path='docs', format='sdist' },
{ path='manpages', format='sdist' },
{ path='samples', format='sdist' },
{ path='tests', format='sdist' },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Operating System :: OS Independent",
"Environment :: Console",
"Intended Audience :: System Administrators",
"Natural Language :: English",
"Topic :: Software Development :: Libraries",
"Topic :: System :: Archiving :: Backup",
"Topic :: Utilities",
]
version = "0.0.0"
[tool.poetry.requires-plugins]
poetry-dynamic-versioning = { version=">=1.5.2,<2.0.0", extras=["plugin"] }
# Published version is managed using Git tags
# We get either the tag (like "0.24.1") or a snapshot-type version (like "0.24.1+3.e8319c4")
[tool.poetry-dynamic-versioning]
enable = true
pattern = '^[vV](?P<base>\d+\.\d+\.\d+)' # this extracts the version from our vX.Y.Z tag format
format-jinja = "{% if distance == 0 and not dirty %}{{ base }}{% else %}{{ base }}+{{ distance }}.{{ commit }}{% endif %}"
[project]
name = "cedar-backup3"
requires-python = ">=3.10,<4"
description = "Implements local and remote backups to CD/DVD and Amazon S3"
keywords = [ 'local', 'remote', 'backup', 'scp' ]
authors = [ { name="Kenneth J. Pronovici", email="[email protected]" } ]
license = "GPL-2.0-only"
readme = "PyPI.md"
dynamic = [ "classifiers", "version" ]
dependencies = [
"chardet (>=5.2.0,<6.0.0)", # Debian trixie has 5.2.0
"importlib-metadata (>=8.5.0,<9.0.0)", # Debian trixie has 8.5.0
]
[project.urls]
homepage = "https://pypi.org/project/cedar-backup3/"
repository = "https://github.com/pronovic/cedar-backup3"
[project.optional-dependencies]
docs = [
"sphinx (>=8.1.3,<9.0.0)", # Debian trixie has 8.1.3
"sphinx-autoapi (>=3.3.3,<4.0.0)", # Debian trixie has 3.3.3
]
[tool.poetry.group.dev.dependencies]
coverage = ">=7.4.4,<8.0.0"
pylint = ">=3.0.1,<4.0.0"
pre-commit = ">=4.0.1,<5.0.0"
black = ">=24.2.0,<25.0.0"
isort = ">=5.12.0,<6.0.0"
colorama = ">=0.4.6,<1.0.0"
[tool.poetry.scripts]
cback3 = 'CedarBackup3.scripts:cback3'
cback3-amazons3-sync = 'CedarBackup3.scripts:amazons3'
cback3-span = 'CedarBackup3.scripts:span'
[tool.black]
line-length = 132
target-version = [ 'py310', 'py311', 'py312', 'py313' ]
include = '\.pyi?$'
exclude = '''
/(
\.git
| __pycache__
| \.tox
| \.venv
| \.poetry
| build
| dist
| docs
| notes
)/
'''
[tool.isort]
profile = "black"
line_length = 132
skip_glob = [ "docs", "notes", ".poetry" ]
[tool.coverage.paths]
source = [ "src" ]
[tool.coverage.run]
branch = true
source = [ "src/CedarBackup3" ]
[tool.coverage.report]
show_missing = false
precision = 1