11[project ]
2- classifiers = [ " Programming Language :: Python :: 3" , " Programming Language :: C" , " Operating System :: OS Independent" ,]
2+ classifiers = [
3+ " Programming Language :: Python :: 3" ,
4+ " Programming Language :: C" ,
5+ " Operating System :: Microsoft :: Windows" ,
6+ " Operating System :: POSIX :: Linux" ,
7+ " Operating System :: MacOS"
8+ ]
39dependencies = [
410 " wcwidth>=0.2.8" ,
511 " pythonnet>=3.0.5" ,
6- " hatchling>=1.28 .0" ,
12+ " setuptools>=80.9 .0" ,
713]
814description = " JSON formatter that produces highly readable but fairly compact output."
915license = " MIT"
1016name = " fractured-json"
1117readme = " README.md"
1218requires-python = " >=3.11, <3.14"
13- dynamic = [ " version " ]
19+ version = " 5.0.0 "
1420
1521[[project .authors ]]
1622email = " python@figsandfudge.com"
@@ -27,17 +33,8 @@ dev = [
2733]
2834
2935[build-system ]
30- requires = [" hatchling" ]
31- build-backend = " hatchling.build"
32-
33- [tool .hatch .build .targets .sdist ]
34- include = [" /src/fractured_json" ]
35-
36- [tool .hatch .build ]
37- artifacts = [" src/fractured_json/_version.py" ]
38-
39- [tool .hatch .version ]
40- path = " src/fractured_json/_version.py"
36+ requires = [" setuptools>=68" , " wheel" ]
37+ build-backend = " setuptools.build_meta"
4138
4239[project .urls ]
4340documentation = " https://github.com/masaccio/fractured-json/blob/main/README.md"
@@ -46,6 +43,9 @@ repository = "https://github.com/masaccio/fractured-json"
4643[project .scripts ]
4744fractured-json = " fractured_json._fractured_json:main"
4845
46+ [tool .pytest .ini_options ]
47+ addopts = " --cov=src/fractured_json --cov-report=html --cov-report=term-missing:skip-covered --cov-context=test"
48+
4949[tool .ruff ]
5050fix = true
5151ignore = [ " T201" ,]
@@ -54,11 +54,15 @@ select = [ "ALL",]
5454target-version = " py311"
5555
5656[tool .tox ]
57- requires = [ " tox>=4.0" ,]
58- envlist = [ " py39" , " py310" , " py311" , " py312" , " py313" ,]
59-
60- [tool .setuptools .package-dir ]
61- "" = " src"
57+ legacy_tox_ini = """
58+ [tox]
59+ isolated_build = true
60+ envlist = py311, py312, py313
61+ [testenv]
62+ allowlist_externals = uv
63+ commands_pre = uv sync --locked --all-extras --dev
64+ commands = uv run -vvv pytest --import-mode importlib
65+ """
6266
6367[tool .ruff .flake8-tidy-imports ]
6468ban-relative-imports = " all"
@@ -76,5 +80,3 @@ omit = [ "src/fractured_json/generated/*.py",]
7680directory = " coverage_html_report"
7781show_contexts = true
7882
79- [tool .pytest .ini_options ]
80- addopts = " --cov=src/fractured_json --cov-report=html --cov-report=term-missing:skip-covered --cov-context=test"
0 commit comments