Debian Codegraph @

pyproject.toml

raw
1 [build-system]
2 requires = ["uv_build>=0.11.17,<0.13"]
3 build-backend = "uv_build"
4
5 [project]
6 name = "barman"
7 version = "3.20.1"
8 description = "Backup and Recovery Manager for PostgreSQL"
9 readme = "README.rst"
10 license = "GPL-3.0-only"
11 license-files = ["LICENSE"]
12 requires-python = ">=3.12"
13 classifiers = [
14 "Environment :: Console",
15 "Development Status :: 5 - Production/Stable",
16 "Topic :: System :: Archiving :: Backup",
17 "Topic :: Database",
18 "Topic :: System :: Recovery Tools",
19 "Intended Audience :: System Administrators",
20 "Operating System :: POSIX :: Linux",
21 "Operating System :: POSIX :: BSD :: FreeBSD",
22 "Operating System :: Unix",
23 "Programming Language :: Python",
24 "Programming Language :: Python :: 3 :: Only",
25 "Programming Language :: Python :: 3.12",
26 "Programming Language :: Python :: 3.13",
27 "Programming Language :: Python :: 3.14",
28 ]
29 dependencies = [
30 "psycopg2 >= 2.4.2",
31 "python-dateutil",
32 ]
33
34 [[project.authors]]
35 name = "EnterpriseDB"
36 email = "[email protected]"
37
38 [project.urls]
39 Homepage = "https://www.pgbarman.org/"
40 Documentation = "https://docs.pgbarman.org/"
41 "Source Code" = "https://github.com/EnterpriseDB/barman"
42 "Issue Tracker" = "https://github.com/EnterpriseDB/barman/issues"
43 "Release Notes" = "https://github.com/EnterpriseDB/barman/blob/master/RELNOTES.md"
44
45 [project.optional-dependencies]
46 argcomplete = ["argcomplete"]
47 aws-snapshots = ["boto3"]
48 azure = [
49 "azure-identity",
50 "azure-storage-blob",
51 ]
52 azure-snapshots = [
53 "azure-identity",
54 "azure-mgmt-compute>=38.0.0",
55 ]
56 cloud = ["boto3"]
57 google = ["google-cloud-storage>=3.12,<3.14"]
58 google-snapshots = [
59 "grpcio",
60 "google-cloud-compute",
61 ]
62 snappy = [
63 "python-snappy",
64 "cramjam >= 2.7.0",
65 ]
66 zstandard = ["zstandard"]
67 lz4 = ["lz4"]
68
69 [project.scripts]
70 barman = "barman.cli:main"
71 barman-cloud-backup = "barman.clients.cloud_backup:main"
72 barman-cloud-backup-delete = "barman.clients.cloud_backup_delete:main"
73 barman-cloud-backup-keep = "barman.clients.cloud_backup_keep:main"
74 barman-cloud-backup-list = "barman.clients.cloud_backup_list:main"
75 barman-cloud-backup-show = "barman.clients.cloud_backup_show:main"
76 barman-cloud-check-wal-archive = "barman.clients.cloud_check_wal_archive:main"
77 barman-cloud-restore = "barman.clients.cloud_restore:main"
78 barman-cloud-wal-archive = "barman.clients.cloud_walarchive:main"
79 barman-cloud-wal-restore = "barman.clients.cloud_walrestore:main"
80 barman-wal-archive = "barman.clients.walarchive:main"
81 barman-wal-restore = "barman.clients.walrestore:main"
82
83 [tool.uv]
84 environments = [
85 "sys_platform == 'linux'",
86 "sys_platform == 'darwin'",
87 "sys_platform == 'freebsd'",
88 ]
89
90 [tool.uv.build-backend]
91 source-include = [
92 "uv.lock",
93 "docs/barman.d/**",
94 "docs/barman.conf",
95 "scripts/barman.bash_completion",
96 "docs/_build/man/**",
97 "AUTHORS",
98 "RELNOTES.md",
99 "INSTALL.md",
100 ]
101
102 [tool.ruff]
103 line-length = 88
104
105 [tool.ruff.lint]
106 preview = true
107 select = [
108 "CPY001",
109 "E",
110 "F",
111 "I",
112 "W",
113 ]
114 ignore = ["E501"]
115
116 [tool.ruff.lint.isort]
117
118 [tool.ruff.lint.flake8-copyright]
119 notice-rgx = '© Copyright EnterpriseDB UK Limited \d{4}-2026'
120
121 [dependency-groups]
122 test = [
123 "pytest",
124 "mock",
125 "pytest-cov",
126 ]
127 docs = [
128 "sphinx",
129 "sphinx-github-style",
130 "sphinxcontrib-apidoc",
131 "pydata-sphinx-theme",
132 "myst-parser",
133 ]
134 lint = ["ruff"]
135
136 [[dependency-groups.dev]]
137 include-group = "test"
138
139 [[dependency-groups.dev]]
140 include-group = "docs"
141
142 [[dependency-groups.dev]]
143 include-group = "lint"