|
2 | 2 | requires = ["setuptools>80", "wheel", "setuptools_scm[toml]>9"] |
3 | 3 | build-backend = "setuptools.build_meta" |
4 | 4 |
|
| 5 | +[project] |
| 6 | +name = "prance" |
| 7 | +description = "Resolving Swagger/OpenAPI 2.0 and 3.0.0 Parser" |
| 8 | +readme = {file = "README.rst", content-type = "text/x-rst"} |
| 9 | +requires-python = ">=3.10" |
| 10 | +license = {text = "MITNFA"} |
| 11 | +authors = [ |
| 12 | + {name = "Jens Finkhaeuser", email = "jens@finkhaeuser.de"} |
| 13 | +] |
| 14 | +maintainers = [ |
| 15 | + {name = "Ronny Pfannschmidt", email = "opensource@ronnypfannschmidt.de"} |
| 16 | +] |
| 17 | +keywords = ["swagger", "openapi", "parsing"] |
| 18 | +classifiers = [ |
| 19 | + "Development Status :: 4 - Beta", |
| 20 | + "Environment :: Plugins", |
| 21 | + "Intended Audience :: Developers", |
| 22 | + "Natural Language :: English", |
| 23 | + "Operating System :: OS Independent", |
| 24 | + "Programming Language :: Python :: 3", |
| 25 | + "Programming Language :: Python :: 3.10", |
| 26 | + "Programming Language :: Python :: 3.11", |
| 27 | + "Programming Language :: Python :: 3.12", |
| 28 | + "Programming Language :: Python :: 3.13", |
| 29 | + "Programming Language :: Python :: 3.14", |
| 30 | + "Topic :: Internet :: WWW/HTTP", |
| 31 | + "Topic :: Software Development :: Libraries :: Python Modules", |
| 32 | +] |
| 33 | +dependencies = [ |
| 34 | + "chardet>=5.2", |
| 35 | + "ruamel.yaml>=0.18.16", |
| 36 | + "requests>=2.32.5", |
| 37 | + "packaging>=25.0", |
| 38 | +] |
| 39 | +dynamic = ["version"] |
| 40 | + |
| 41 | +[project.urls] |
| 42 | +Homepage = "https://github.com/RonnyPfannschmidt/prance" |
| 43 | + |
| 44 | +[project.optional-dependencies] |
| 45 | +icu = ["PyICU~=2.14"] |
| 46 | +ssv = ["swagger-spec-validator~=3.0.4"] |
| 47 | +osv = ["openapi-spec-validator~=0.7.1"] |
| 48 | +flex = ["flex~=6.14.1"] |
| 49 | +cli = ["click>=8.3.0"] |
| 50 | + |
| 51 | +[project.scripts] |
| 52 | +prance = "prance.cli:cli" |
| 53 | + |
| 54 | +[dependency-groups] |
| 55 | +dev = [ |
| 56 | + "tox>=4.32.0", |
| 57 | + "bumpversion>=0.6.0", |
| 58 | + "pytest>=9.0.1", |
| 59 | + "pytest-cov>=7.0.0", |
| 60 | + "sphinx>=8.1.3,<8.2", |
| 61 | + "towncrier>=25.8.0", |
| 62 | +] |
| 63 | + |
| 64 | +[tool.setuptools] |
| 65 | +zip-safe = true |
| 66 | +include-package-data = true |
| 67 | + |
| 68 | +[tool.setuptools.packages.find] |
| 69 | +exclude = ["ez_setup", "examples", "tests"] |
5 | 70 |
|
6 | 71 | [tool.setuptools_scm] |
7 | 72 | write_to = "prance/_version.py" |
8 | 73 |
|
| 74 | +[tool.pytest.ini_options] |
| 75 | +addopts = "--verbose --cov=prance --cov-report=term-missing --cov-fail-under=89" |
| 76 | +testpaths = ["tests"] |
| 77 | +markers = [ |
| 78 | + "requires_network: Marks test as requiring network connections (deselect with '-m \"not requires_network\"')", |
| 79 | +] |
| 80 | + |
9 | 81 | [tool.towncrier] |
10 | 82 | package = "prance" |
11 | 83 | package_dir = "." |
|
0 commit comments