| 1 |
[build-system] |
| 2 |
requires = [ |
| 3 |
# keep versions in sync with automation/pyproject.toml and ../pyproject.toml |
| 4 |
"setuptools==82.0.0", |
| 5 |
"setuptools_scm==9.2.2", |
| 6 |
] |
| 7 |
build-backend = "setuptools.build_meta" |
| 8 |
|
| 9 |
[project] |
| 10 |
name = "briefcase-debugger" |
| 11 |
description = "A Briefcase plugin adding remote debugging support for PDB and Visual Studio Code." |
| 12 |
readme = "README.md" |
| 13 |
license = "BSD-3-Clause" |
| 14 |
license-files = ["LICENSE"] |
| 15 |
dependencies = [ |
| 16 |
# see "pdb" or "debugpy" optional dependencies below |
| 17 |
] |
| 18 |
dynamic = ["version"] |
| 19 |
|
| 20 |
[project.optional-dependencies] |
| 21 |
pdb = ["remote-pdb>=2.1.0,<3.0.0"] |
| 22 |
debugpy = ["debugpy>=1.8.17,<2.0.0"] |
| 23 |
|
| 24 |
[dependency-groups] |
| 25 |
test = [ |
| 26 |
"coverage[toml] == 7.13.4", |
| 27 |
"pytest == 9.0.2", |
| 28 |
"pytest-xdist == 3.8.0", |
| 29 |
] |
| 30 |
|
| 31 |
[tool.coverage.run] |
| 32 |
parallel = true |
| 33 |
branch = true |
| 34 |
relative_files = true |
| 35 |
source_pkgs = ["briefcase_debugger"] |
| 36 |
|
| 37 |
[tool.coverage.paths] |
| 38 |
source = [ |
| 39 |
"src", |
| 40 |
"**/site-packages", |
| 41 |
] |
| 42 |
|
| 43 |
[tool.coverage.report] |
| 44 |
show_missing = true |
| 45 |
skip_covered = true |
| 46 |
skip_empty = true |
| 47 |
precision = 1 |
| 48 |
|
| 49 |
[tool.ruff.lint] |
| 50 |
ignore = [ |
| 51 |
"T20", # flake8-print (useful for briefcase, but not in the debugger) |
| 52 |
] |
| 53 |
|
| 54 |
[tool.setuptools_scm] |
| 55 |
root = "../" |